@@ -61,6 +61,9 @@ |
||
61 | 61 | return [self::replaceFirst($absPath, $class, $prefix.$correct[0], $lineNum), $correct]; |
62 | 62 | } |
63 | 63 | |
64 | + /** |
|
65 | + * @param \Closure $lineChanger |
|
66 | + */ |
|
64 | 67 | private static function applyToFile($file, $lineChanger) |
65 | 68 | { |
66 | 69 | $reading = fopen($file, 'r'); |
@@ -55,6 +55,9 @@ |
||
55 | 55 | } |
56 | 56 | } |
57 | 57 | |
58 | + /** |
|
59 | + * @param string $string |
|
60 | + */ |
|
58 | 61 | protected function getClassyPath($string) |
59 | 62 | { |
60 | 63 | ($string[0] !== '\\') && ($string = '\\'.$string); |