1 | <?php |
||
10 | class CheckCollection implements Countable |
||
11 | { |
||
12 | /** @var \Illuminate\Support\Collection */ |
||
13 | protected $pendingChecks; |
||
14 | |||
15 | /** @var \Illuminate\Support\Collection */ |
||
16 | protected $runningChecks; |
||
17 | |||
18 | public function __construct(Collection $checks) |
||
24 | |||
25 | public function runAll() |
||
35 | |||
36 | protected function startNextCheck() |
||
50 | |||
51 | protected function handleFinishedChecks() |
||
59 | |||
60 | /** |
||
61 | * @return int |
||
62 | */ |
||
63 | public function count() |
||
67 | } |
||
68 |
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.