| 1 | <?php |
||
| 10 | class Statement extends AbstractCondition |
||
| 11 | { |
||
| 12 | private |
||
| 13 | $statement; |
||
|
1 ignored issue
–
show
|
|||
| 14 | |||
| 15 | 10 | public function __construct($statement) |
|
| 19 | |||
| 20 | 5 | public function toString(Escaper $escaper): string |
|
| 38 | |||
| 39 | 2 | private function wrapWithParenthesis(string $value): string |
|
| 43 | |||
| 44 | 10 | public function isEmpty(): bool |
|
| 48 | } |
||
| 49 |
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.