Passed
Push — main ( d73681...8fb716 )
by Sammy
01:46
created
LeMarchand.php 1 patch
Braces   +5 added lines, -6 removed lines patch added patch discarded remove patch
@@ -33,11 +33,9 @@  discard block
 block discarded – undo
33 33
       try{
34 34
         $this->get($configuration);
35 35
         return true;
36
-      }
37
-      catch(NotFoundExceptionInterface $e){
36
+      } catch(NotFoundExceptionInterface $e){
38 37
         return false;
39
-      }
40
-      catch(ContainerExceptionInterface $e){
38
+      } catch(ContainerExceptionInterface $e){
41 39
         return false;
42 40
       }
43 41
     }
@@ -63,8 +61,9 @@  discard block
 block discarded – undo
63 61
         }
64 62
         if (preg_match('/.+Interface$/', $configuration, $m) === 1) {
65 63
             $wire = $this->get('settings.interface_implementations');
66
-            if(isset($wire[$configuration]))
67
-              return $this->getInstance($wire[$configuration]);
64
+            if(isset($wire[$configuration])) {
65
+                          return $this->getInstance($wire[$configuration]);
66
+            }
68 67
         }
69 68
 
70 69
         throw new ConfigurationException($configuration);
Please login to merge, or discard this patch.