| 1 | <?php |
||
| 13 | class Set implements Snippet |
||
| 14 | { |
||
| 15 | use |
||
| 16 | EscaperAware, |
||
| 17 | TypeGuesser; |
||
| 18 | |||
| 19 | private |
||
| 20 | $sets; |
||
|
1 ignored issue
–
show
|
|||
| 21 | |||
| 22 | 8 | public function __construct() |
|
| 26 | |||
| 27 | 7 | public function set(array $fields): self |
|
| 33 | |||
| 34 | 7 | public function toString(): string |
|
| 51 | } |
||
| 52 |
The PSR-2 coding standard requires that all properties in a class have their visibility explicitly declared. If you declare a property using
the property is implicitly global.
To learn more about the PSR-2, please see the PHP-FIG site on the PSR-2.