1 | <?php |
||
14 | class PropertyDefinitionDefaultValue implements Pass\AnalyzerPassInterface |
||
15 | { |
||
16 | use DefaultMetadataPassTrait; |
||
17 | |||
18 | const DESCRIPTION = 'Checks if any Property Definition is done with a default null value (not needed). For example: `$a = null`'; |
||
19 | |||
20 | /** |
||
21 | * @param $stmt |
||
22 | * @param Context $context |
||
23 | * @return bool |
||
24 | */ |
||
25 | public function pass($stmt, Context $context) |
||
41 | |||
42 | /** |
||
43 | * @return array |
||
44 | */ |
||
45 | public function getRegister() |
||
51 | } |
||
52 |