Completed
Push — master ( 99895b...1d31a8 )
by Juuso
09:09 queued 06:01
created
src/Factories/GenericStrategyBasedFactory.php 2 patches
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -89,12 +89,12 @@
 block discarded – undo
89 89
     {
90 90
         if (! \is_object($configuredInstance)) {
91 91
             throw new InvalidConfigException(
92
-               \sprintf(
93
-                   'The return value of the configure callable must be an instance of %s got %s',
94
-                   $className,
95
-                   \gettype($configuredInstance)
96
-               )
97
-           );
92
+                \sprintf(
93
+                    'The return value of the configure callable must be an instance of %s got %s',
94
+                    $className,
95
+                    \gettype($configuredInstance)
96
+                )
97
+            );
98 98
         }
99 99
 
100 100
         $instanceClassName = (new \ReflectionClass($configuredInstance))->name;
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
         $givenParameters = \array_keys($config);
72 72
 
73 73
         foreach ($requiredParameters as $requiredParameter) {
74
-            if (! \in_array($requiredParameter, $givenParameters, true)) {
74
+            if ( ! \in_array($requiredParameter, $givenParameters, true)) {
75 75
                 throw new InvalidConfigException(
76 76
                     "The parameter '{$requiredParameter}' is required for {$className}"
77 77
                 );
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
      */
88 88
     private function validateConfiguredInstance($configuredInstance, string $className)
89 89
     {
90
-        if (! \is_object($configuredInstance)) {
90
+        if ( ! \is_object($configuredInstance)) {
91 91
             throw new InvalidConfigException(
92 92
                \sprintf(
93 93
                    'The return value of the configure callable must be an instance of %s got %s',
Please login to merge, or discard this patch.