1 | <?php |
||
7 | class PdoCouponSheetContainer implements ContainerInterface |
||
8 | { |
||
9 | |||
10 | public $instances = array(); |
||
11 | /** |
||
12 | * @var callable |
||
13 | */ |
||
14 | public $sheet_factory; |
||
15 | |||
16 | public function __construct( callable $sheet_factory ) |
||
20 | |||
21 | /** |
||
22 | * @param string|int $id |
||
23 | */ |
||
24 | public function has( $id ) |
||
34 | |||
35 | |||
36 | /** |
||
37 | * @param string|int $id |
||
38 | */ |
||
39 | public function get( $id ) |
||
51 | |||
52 | } |
||
53 | |||
54 |
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.