@@ -18,10 +18,10 @@ discard block |
||
18 | 18 | /** |
19 | 19 | * Get all of the listeners and their corresponding events. |
20 | 20 | * |
21 | - * @param iterable $paths |
|
21 | + * @param \Symfony\Component\Finder\Finder $paths |
|
22 | 22 | * @param $composerPath |
23 | 23 | * @param $composerNamespace |
24 | - * @param $command |
|
24 | + * @param Commands\CheckPsr4 $command |
|
25 | 25 | * |
26 | 26 | * @return void |
27 | 27 | */ |
@@ -96,6 +96,9 @@ discard block |
||
96 | 96 | return Str::startsWith($buffer, '<?php'); |
97 | 97 | } |
98 | 98 | |
99 | + /** |
|
100 | + * @param string $correctNamespace |
|
101 | + */ |
|
99 | 102 | protected static function doNamespaceCorrection($absFilePath, $currentNamespace, $correctNamespace) |
100 | 103 | { |
101 | 104 | event('laravel_microscope.namespace_fixing', get_defined_vars()); |
@@ -103,6 +106,9 @@ discard block |
||
103 | 106 | event('laravel_microscope.namespace_fixed', get_defined_vars()); |
104 | 107 | } |
105 | 108 | |
109 | + /** |
|
110 | + * @param string $correctNamespace |
|
111 | + */ |
|
106 | 112 | private static function changedNamespaces($class, $currentNamespace, $correctNamespace) |
107 | 113 | { |
108 | 114 | $_currentClass = $currentNamespace.'\\'.$class; |