Skip to content

Commit 5e5be9b

Browse files
committed
Updating the docs about the new method calls.
1 parent 7a00829 commit 5e5be9b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -163,10 +163,10 @@ array (size=2)
163163
'emptyAnnotation' => boolean true
164164
```
165165

166-
For a specific method, just pass the method name:
166+
For a specific method:
167167

168168
```php
169-
$sayHelloAnnotations = $annotation->getMethodsAnnotations('sayHello');
169+
$sayHelloAnnotations = $annotation->getMethodAnnotations('sayHello');
170170

171171
var_dump($sayHelloAnnotations);
172172
```
@@ -206,10 +206,10 @@ array (size=3)
206206
'var' => string 'int' (length=3)
207207
```
208208

209-
For a specific property, just pass the property name:
209+
For a specific property:
210210

211211
```php
212-
$nameAnnotations = $annotation->getPropertiesAnnotations('name');
212+
$nameAnnotations = $annotation->getPropertyAnnotations('name');
213213

214214
var_dump($nameAnnotations);
215215
```

0 commit comments

Comments
 (0)