File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -449,10 +449,9 @@ The following keywords are recognized by this PSR:
449
449
450
450
11. `null`: the element to which this type applies is a `NULL` value or, in technical terms, does not exist.
451
451
452
- A big difference compared to `void` is that this type is used in any situation where the described element may at
452
+ Compared to `void`, this type is used in any situation where the described element may at
453
453
any given time contain an explicit `NULL` value.
454
454
455
- **Example 1:**
456
455
```php
457
456
/**
458
457
* @return null
@@ -464,10 +463,6 @@ The following keywords are recognized by this PSR:
464
463
}
465
464
```
466
465
467
- This type is commonly used in conjunction with another type to indicate that it is possible that nothing is
468
- returned.
469
-
470
- **Example 2:**
471
466
```php
472
467
/**
473
468
* @param bool $create_new When true returns a new stdClass.
@@ -486,7 +481,7 @@ The following keywords are recognized by this PSR:
486
481
12. `callable`: the element to which this type applies is a pointer to a function call. This may be any type of callable
487
482
as per the [definition of PHP][PHP_CALLABLE].
488
483
489
- 13. `false` or `true`: the element to which this type applies will have the value `TRUE` or `FALSE`. No other value will
484
+ 13. `false` or `true`: the element to which this type applies will have the exact value `TRUE` or `FALSE`. No other value will
490
485
be returned from this element.
491
486
492
487
14. `self`: the element to which this type applies is of the same class in which the documented element is originally
You can’t perform that action at this time.
0 commit comments