Skip to content

Commit 8abaef4

Browse files
committed
Merge pull request #84 from gerardroche/patch-1
Update phpdoc.md
2 parents d27159e + 63af227 commit 8abaef4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

proposed/phpdoc.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1306,7 +1306,7 @@ The @param tag MAY have a multi-line description and does not need explicit
13061306
delimiting.
13071307

13081308
It is RECOMMENDED when documenting to use this tag with every function and
1309-
method. Exceptions to this recommendation are:
1309+
method.
13101310

13111311
This tag MUST NOT occur more than once per parameter in a "PHPDoc" and is
13121312
limited to "Structural Elements" of type method or function.
@@ -1317,7 +1317,7 @@ limited to "Structural Elements" of type method or function.
13171317
/**
13181318
* Counts the number of items in the provided array.
13191319
*
1320-
* @param mixed[] $array Array structure to count the elements of.
1320+
* @param mixed[] $items Array structure to count the elements of.
13211321
*
13221322
* @return int Returns the number of elements.
13231323
*/
@@ -1328,7 +1328,7 @@ function count(array $items)
13281328
```
13291329

13301330
The following example demonstrates the use of an "Inline PHPDoc" to document
1331-
an option array with 2 elements: 'required' and 'label'.
1331+
an option array with two elements: 'required' and 'label'.
13321332

13331333
```php
13341334
/**

0 commit comments

Comments
 (0)