Passed
Push — main ( 3399b6...dd4eea )
by Dimitri
11:50
created
src/Container/Services.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -477,7 +477,7 @@
 block discarded – undo
477 477
         $name      = array_shift($arguments);
478 478
 
479 479
         if (empty(static::$instances[$name])) {
480
-            if (! empty($arguments)) {
480
+            if (!empty($arguments)) {
481 481
                 static::$instances[$name] = static::factory($name, $arguments);
482 482
             } else {
483 483
                 static::$instances[$name] = static::injector()->get($name);
Please login to merge, or discard this patch.
src/Container/Injector.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -197,7 +197,7 @@  discard block
 block discarded – undo
197 197
         }
198 198
 
199 199
         // Les providers par défaut du système doivent être ajouté en premier pour que les autres puisse les surcharger
200
-        if (! empty($systemProvider)) {
200
+        if (!empty($systemProvider)) {
201 201
             $providers[] = $systemProvider;
202 202
         }
203 203
 
@@ -205,7 +205,7 @@  discard block
 block discarded – undo
205 205
         $providers = [...$providers, ...$localIncludes];
206 206
 
207 207
         // Enfin ceux de l'application doivent remplacer tous les autres
208
-        if (! empty($appProvider)) {
208
+        if (!empty($appProvider)) {
209 209
             $providers[] = $appProvider;
210 210
         }
211 211
        
Please login to merge, or discard this patch.