| 1 | <?php |
||
| 10 | class JumpIfNode extends AbstractNode |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var Block |
||
| 14 | */ |
||
| 15 | protected $if; |
||
|
|
|||
| 16 | |||
| 17 | /** |
||
| 18 | * @var Block|null |
||
| 19 | */ |
||
| 20 | protected $else; |
||
| 21 | |||
| 22 | public function __construct(Block $if) |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @param Block $if |
||
| 29 | */ |
||
| 30 | public function setIf(Block $if) |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @param Block $else |
||
| 37 | */ |
||
| 38 | public function setElse(Block $else) |
||
| 42 | |||
| 43 | public function getSubBlocks() |
||
| 50 | } |
||
| 51 |
Short variable names may make your code harder to understand. Variable names should be self-descriptive. This check looks for variable names who are shorter than a configured minimum.