Passed
Pull Request — master (#1115)
by Maxim
22:29
created
src/Boot/src/BootloadManager/Checker/ClassExistsChecker.php 1 patch
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,11 +15,13 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.