@@ -15,11 +15,13 @@ |
||
15 | 15 | */ |
16 | 16 | public function canInitialize(BootloaderInterface|string $bootloader, ?BootloadConfig $config = null): bool |
17 | 17 | { |
18 | - if (!\is_string($bootloader)) { |
|
18 | + if (!\is_string($bootloader)) |
|
19 | + { |
|
19 | 20 | return true; |
20 | 21 | } |
21 | 22 | |
22 | - if (!\class_exists($bootloader)) { |
|
23 | + if (!\class_exists($bootloader)) |
|
24 | + { |
|
23 | 25 | throw new ClassNotFoundException(\sprintf('Bootloader class `%s` does not exist.', $bootloader)); |
24 | 26 | } |
25 | 27 |