@@ -148,7 +148,7 @@ discard block |
||
148 | 148 | * appending or prepending to the ones previously set for this namespace. |
149 | 149 | * |
150 | 150 | * @param string $prefix The prefix/namespace, with trailing '\\' |
151 | - * @param array|string $paths The PSR-4 base directories |
|
151 | + * @param string $paths The PSR-4 base directories |
|
152 | 152 | * @param bool $prepend Whether to prepend the directories |
153 | 153 | * |
154 | 154 | * @throws \InvalidArgumentException |
@@ -367,6 +367,10 @@ discard block |
||
367 | 367 | return $file; |
368 | 368 | } |
369 | 369 | |
370 | + /** |
|
371 | + * @param string $class |
|
372 | + * @param string $ext |
|
373 | + */ |
|
370 | 374 | private function findFileWithExtension($class, $ext) |
371 | 375 | { |
372 | 376 | // PSR-4 lookup |
@@ -148,7 +148,7 @@ discard block |
||
148 | 148 | * appending or prepending to the ones previously set for this namespace. |
149 | 149 | * |
150 | 150 | * @param string $prefix The prefix/namespace, with trailing '\\' |
151 | - * @param array|string $paths The PSR-4 base directories |
|
151 | + * @param string $paths The PSR-4 base directories |
|
152 | 152 | * @param bool $prepend Whether to prepend the directories |
153 | 153 | * |
154 | 154 | * @throws \InvalidArgumentException |
@@ -367,6 +367,10 @@ discard block |
||
367 | 367 | return $file; |
368 | 368 | } |
369 | 369 | |
370 | + /** |
|
371 | + * @param string $class |
|
372 | + * @param string $ext |
|
373 | + */ |
|
370 | 374 | private function findFileWithExtension($class, $ext) |
371 | 375 | { |
372 | 376 | // PSR-4 lookup |
@@ -148,7 +148,7 @@ discard block |
||
148 | 148 | * appending or prepending to the ones previously set for this namespace. |
149 | 149 | * |
150 | 150 | * @param string $prefix The prefix/namespace, with trailing '\\' |
151 | - * @param array|string $paths The PSR-4 base directories |
|
151 | + * @param string $paths The PSR-4 base directories |
|
152 | 152 | * @param bool $prepend Whether to prepend the directories |
153 | 153 | * |
154 | 154 | * @throws \InvalidArgumentException |
@@ -367,6 +367,10 @@ discard block |
||
367 | 367 | return $file; |
368 | 368 | } |
369 | 369 | |
370 | + /** |
|
371 | + * @param string $class |
|
372 | + * @param string $ext |
|
373 | + */ |
|
370 | 374 | private function findFileWithExtension($class, $ext) |
371 | 375 | { |
372 | 376 | // PSR-4 lookup |
@@ -148,7 +148,7 @@ discard block |
||
148 | 148 | * appending or prepending to the ones previously set for this namespace. |
149 | 149 | * |
150 | 150 | * @param string $prefix The prefix/namespace, with trailing '\\' |
151 | - * @param array|string $paths The PSR-4 base directories |
|
151 | + * @param string $paths The PSR-4 base directories |
|
152 | 152 | * @param bool $prepend Whether to prepend the directories |
153 | 153 | * |
154 | 154 | * @throws \InvalidArgumentException |
@@ -367,6 +367,10 @@ discard block |
||
367 | 367 | return $file; |
368 | 368 | } |
369 | 369 | |
370 | + /** |
|
371 | + * @param string $class |
|
372 | + * @param string $ext |
|
373 | + */ |
|
370 | 374 | private function findFileWithExtension($class, $ext) |
371 | 375 | { |
372 | 376 | // PSR-4 lookup |
@@ -148,7 +148,7 @@ discard block |
||
148 | 148 | * appending or prepending to the ones previously set for this namespace. |
149 | 149 | * |
150 | 150 | * @param string $prefix The prefix/namespace, with trailing '\\' |
151 | - * @param array|string $paths The PSR-4 base directories |
|
151 | + * @param string $paths The PSR-4 base directories |
|
152 | 152 | * @param bool $prepend Whether to prepend the directories |
153 | 153 | * |
154 | 154 | * @throws \InvalidArgumentException |
@@ -367,6 +367,10 @@ discard block |
||
367 | 367 | return $file; |
368 | 368 | } |
369 | 369 | |
370 | + /** |
|
371 | + * @param string $class |
|
372 | + * @param string $ext |
|
373 | + */ |
|
370 | 374 | private function findFileWithExtension($class, $ext) |
371 | 375 | { |
372 | 376 | // PSR-4 lookup |
@@ -148,7 +148,7 @@ discard block |
||
148 | 148 | * appending or prepending to the ones previously set for this namespace. |
149 | 149 | * |
150 | 150 | * @param string $prefix The prefix/namespace, with trailing '\\' |
151 | - * @param array|string $paths The PSR-4 base directories |
|
151 | + * @param string $paths The PSR-4 base directories |
|
152 | 152 | * @param bool $prepend Whether to prepend the directories |
153 | 153 | * |
154 | 154 | * @throws \InvalidArgumentException |
@@ -367,6 +367,10 @@ discard block |
||
367 | 367 | return $file; |
368 | 368 | } |
369 | 369 | |
370 | + /** |
|
371 | + * @param string $class |
|
372 | + * @param string $ext |
|
373 | + */ |
|
370 | 374 | private function findFileWithExtension($class, $ext) |
371 | 375 | { |
372 | 376 | // PSR-4 lookup |
@@ -148,7 +148,7 @@ discard block |
||
148 | 148 | * appending or prepending to the ones previously set for this namespace. |
149 | 149 | * |
150 | 150 | * @param string $prefix The prefix/namespace, with trailing '\\' |
151 | - * @param array|string $paths The PSR-4 base directories |
|
151 | + * @param string $paths The PSR-4 base directories |
|
152 | 152 | * @param bool $prepend Whether to prepend the directories |
153 | 153 | * |
154 | 154 | * @throws \InvalidArgumentException |
@@ -367,6 +367,10 @@ discard block |
||
367 | 367 | return $file; |
368 | 368 | } |
369 | 369 | |
370 | + /** |
|
371 | + * @param string $class |
|
372 | + * @param string $ext |
|
373 | + */ |
|
370 | 374 | private function findFileWithExtension($class, $ext) |
371 | 375 | { |
372 | 376 | // PSR-4 lookup |
@@ -148,7 +148,7 @@ discard block |
||
148 | 148 | * appending or prepending to the ones previously set for this namespace. |
149 | 149 | * |
150 | 150 | * @param string $prefix The prefix/namespace, with trailing '\\' |
151 | - * @param array|string $paths The PSR-4 base directories |
|
151 | + * @param string $paths The PSR-4 base directories |
|
152 | 152 | * @param bool $prepend Whether to prepend the directories |
153 | 153 | * |
154 | 154 | * @throws \InvalidArgumentException |
@@ -367,6 +367,10 @@ discard block |
||
367 | 367 | return $file; |
368 | 368 | } |
369 | 369 | |
370 | + /** |
|
371 | + * @param string $class |
|
372 | + * @param string $ext |
|
373 | + */ |
|
370 | 374 | private function findFileWithExtension($class, $ext) |
371 | 375 | { |
372 | 376 | // PSR-4 lookup |
@@ -148,7 +148,7 @@ discard block |
||
148 | 148 | * appending or prepending to the ones previously set for this namespace. |
149 | 149 | * |
150 | 150 | * @param string $prefix The prefix/namespace, with trailing '\\' |
151 | - * @param array|string $paths The PSR-4 base directories |
|
151 | + * @param string $paths The PSR-4 base directories |
|
152 | 152 | * @param bool $prepend Whether to prepend the directories |
153 | 153 | * |
154 | 154 | * @throws \InvalidArgumentException |
@@ -367,6 +367,10 @@ discard block |
||
367 | 367 | return $file; |
368 | 368 | } |
369 | 369 | |
370 | + /** |
|
371 | + * @param string $class |
|
372 | + * @param string $ext |
|
373 | + */ |
|
370 | 374 | private function findFileWithExtension($class, $ext) |
371 | 375 | { |
372 | 376 | // PSR-4 lookup |