Passed
Pull Request — master (#211)
by Dmitriy
02:49
created
src/Contracts/DeferredServiceProviderInterface.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
     public function hasDefinitionFor(string $id): bool;
19 19
 
20 20
     /**
21
-      * @return string[] a list of IDs of services provided
22
-      */
21
+     * @return string[] a list of IDs of services provided
22
+     */
23 23
     public function provides(): array;
24 24
 }
Please login to merge, or discard this patch.
src/CompositeContextContainer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@
 block discarded – undo
75 75
             $this->containers[$context] = [
76 76
                 $container,
77 77
             ];
78
-            uksort($this->containers, static function (string $a, string $b) {
78
+            uksort($this->containers, static function(string $a, string $b) {
79 79
                 return mb_strlen($b) <=> mb_strlen($a);
80 80
             });
81 81
         }
Please login to merge, or discard this patch.
src/CompositeContainer.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,8 +25,9 @@
 block discarded – undo
25 25
         if ($id === StateResetter::class) {
26 26
             $resetters = [];
27 27
             foreach ($this->containers as $container) {
28
-                if ($container->has(StateResetter::class))
29
-                $resetters = array_merge($container->get(StateResetter::class)->getResetters(), $resetters);
28
+                if ($container->has(StateResetter::class)) {
29
+                                $resetters = array_merge($container->get(StateResetter::class)->getResetters(), $resetters);
30
+                }
30 31
 
31 32
             }
32 33
             return new StateResetter($resetters);
Please login to merge, or discard this patch.