Passed
Push — master ( 04570c...82e63e )
by Vee
01:40
created
src/Container.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
      * @param object|callable|string $definition
90 90
      * @return void
91 91
      */
92
-    public function set(string $id, object|callable|string $definition): void
92
+    public function set(string $id, object | callable | string $definition): void
93 93
     {
94 94
         if (array_key_exists($id, $this->instances)) {
95 95
             unset($this->instances[$id]);
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
         $type = $param->getType();
158 158
 
159 159
         if (!is_null($type)) {
160
-            $type = (string)$type;
160
+            $type = (string) $type;
161 161
         }
162 162
 
163 163
         if (!is_null($type) && (class_exists($type) || interface_exists($type))) {
Please login to merge, or discard this patch.