| 1 | <?php |
||
| 19 | class ContentClassSelector implements \PEIP\INF\Selector\MessageSelector |
||
| 20 | { |
||
| 21 | protected $className; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @param $className |
||
| 25 | * |
||
| 26 | * @return |
||
| 27 | */ |
||
| 28 | public function __construct($className) |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @param $message |
||
| 35 | * |
||
| 36 | * @return |
||
| 37 | */ |
||
| 38 | public function acceptMessage(\PEIP\INF\Message\Message $message) |
||
| 42 | } |
||
| 43 |
This check marks access to variables or properties that have not been declared yet. While PHP has no explicit notion of declaring a variable, accessing it before a value is assigned to it is most likely a bug.