Completed
Push — develop ( b20fd0...358268 )
by Filipe
40s queued 30s
created
src/Container.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
     public function register(
104 104
         string       $name,
105 105
         mixed        $definition = null,
106
-        string|Scope $scope = Scope::SINGLETON,
106
+        string | Scope $scope = Scope::SINGLETON,
107 107
         array        $parameters = []
108 108
     ): Container {
109 109
         if (!$definition instanceof DefinitionInterface) {
@@ -217,7 +217,7 @@  discard block
 block discarded – undo
217 217
     protected function createDefinition(
218 218
         mixed $value,
219 219
         array $parameters = []
220
-    ): Value|Alias|Factory {
220
+    ): Value | Alias | Factory {
221 221
         if (is_callable($value)) {
222 222
             return new Factory($value, $parameters);
223 223
         }
@@ -234,7 +234,7 @@  discard block
 block discarded – undo
234 234
      *
235 235
      * @return Value|Alias
236 236
      */
237
-    protected function createValueDefinition(mixed $value): Value|Alias
237
+    protected function createValueDefinition(mixed $value): Value | Alias
238 238
     {
239 239
         if (is_string($value) && str_contains($value, '@')) {
240 240
             return new Alias($value);
Please login to merge, or discard this patch.
src/ContainerInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
     public function register(
36 36
         string       $name,
37 37
         mixed        $definition = null,
38
-        string|Scope $scope = Scope::SINGLETON,
38
+        string | Scope $scope = Scope::SINGLETON,
39 39
         array        $parameters = []
40 40
     ): Container;
41 41
 
Please login to merge, or discard this patch.