Test Failed
Push — master ( 191bfb...4f1ddb )
by
unknown
01:57
created
src/Container.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -413,7 +413,7 @@
 block discarded – undo
413 413
      */
414 414
     protected function turnIntoResolvableClosure($abstract, $concrete)
415 415
     {
416
-        return function (Container $container, $parameters = []) use ($abstract, $concrete) {
416
+        return function(Container $container, $parameters = []) use ($abstract, $concrete) {
417 417
             return ($abstract == $concrete ? $container->resolve($abstract)
418 418
                 : $container->resolve($concrete, $parameters));
419 419
         };
Please login to merge, or discard this patch.
src/Internal/ReflectionClassFactory.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -24,6 +24,9 @@  discard block
 block discarded – undo
24 24
         $this->reflection = new \ReflectionClass($instance);
25 25
     }
26 26
 
27
+    /**
28
+     * @param string $instance
29
+     */
27 30
     public static function create($instance)
28 31
     {
29 32
         return new static($instance);
@@ -174,6 +177,9 @@  discard block
 block discarded – undo
174 177
         return $this->reflection->hasConstant($name);
175 178
     }
176 179
 
180
+    /**
181
+     * @param string $name
182
+     */
177 183
     public function hasMethod($name)
178 184
     {
179 185
         if (!is_string($name)) {
Please login to merge, or discard this patch.