Skip to content

Commit 13b6b0e

Browse files
committed
refactor: initialize $files
To suppress PHPStan error.
1 parent f6fb60d commit 13b6b0e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

system/Commands/Utilities/Routes/ControllerFinder.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ public function find(): array
4444
$nsArray = explode('\\', trim($this->namespace, '\\'));
4545
$count = count($nsArray);
4646
$ns = '';
47+
$files = [];
4748

4849
for ($i = 0; $i < $count; $i++) {
4950
$ns .= '\\' . array_shift($nsArray);

0 commit comments

Comments
 (0)