Passed
Push — modular-container ( c3741a...e73253 )
by Alexander
05:47 queued 03:06
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/ModuleRootContainer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -180,7 +180,7 @@
 block discarded – undo
180 180
     {
181 181
         return array_filter(
182 182
             $module['definitions'] ?? [],
183
-            fn (string $id) => $this->getNamespaceMatch($id, $namespace) === 0,
183
+            fn(string $id) => $this->getNamespaceMatch($id, $namespace) === 0,
184 184
             ARRAY_FILTER_USE_KEY
185 185
         );
186 186
     }
Please login to merge, or discard this patch.