| 1 | <?php |
||
| 10 | abstract class AbstractInCondition extends AbstractCondition |
||
| 11 | { |
||
| 12 | protected |
||
| 13 | $type, |
||
|
1 ignored issue
–
show
|
|||
| 14 | $values; |
||
| 15 | |||
| 16 | 24 | public function __construct(Type $column, array $values) |
|
| 21 | |||
| 22 | 19 | public function toString(Escaper $escaper): string |
|
| 38 | |||
| 39 | 26 | public function isEmpty(): bool |
|
| 45 | |||
| 46 | abstract protected function getOperator(): string; |
||
| 47 | |||
| 48 | 17 | protected function escapeValues(array $values, Escaper $escaper): array |
|
| 65 | } |
||
| 66 |
Only declaring a single property per statement allows you to later on add doc comments more easily.
It is also recommended by PSR2, so it is a common style that many people expect.