Skip to content

Commit 4c94d45

Browse files
committed
adjust tag examples;
1 parent 8b69772 commit 4c94d45

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

proposed/phpdoc.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ interpreted as described in [RFC 2119][RFC2119].
7777
*/
7878
class Foo
7979
{
80-
/** @var string|null $title contains a title for the Foo */
80+
/** @var ?string $title contains a title for the Foo */
8181
protected $title = null;
8282

8383
/**
@@ -337,7 +337,7 @@ function test($parameter1, $parameter2)
337337
A DocBlock may also span a single line:
338338

339339
```php
340-
/** @var \ArrayObject $array */
340+
/** @var \ArrayObject $array An array of things. */
341341
public $array = null;
342342
```
343343

0 commit comments

Comments
 (0)