| 1 | <?php |
||
| 9 | class Update implements Snippet |
||
| 10 | { |
||
| 11 | private |
||
| 12 | $tables; |
||
|
1 ignored issue
–
show
|
|||
| 13 | |||
| 14 | 17 | public function __construct($table = null, ?string $alias = null) |
|
| 23 | |||
| 24 | 14 | public function addTable($table, ?string $alias = null): self |
|
| 35 | |||
| 36 | 15 | public function toString(): string |
|
| 54 | } |
||
| 55 |
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.