Completed
Push — master ( 09fe49...bcbab5 )
by
unknown
04:32 queued 02:08
created
src/Container.php 1 patch
Doc Comments   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
      *
26 26
      * @param string $instance The class name.
27 27
      * @param array $parameters List of needed class dependency.
28
-     * @return object
28
+     * @return callable
29 29
      */
30 30
     public function make($instance, $parameters = [])
31 31
     {
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
     /**
94 94
      * Determine if concrete dependency is exists.
95 95
      *
96
-     * @param mixed $concrete The concrete dependency.
96
+     * @param \Closure $concrete The concrete dependency.
97 97
      * @return bool
98 98
      */
99 99
     public function isConcreteExists($concrete)
@@ -271,7 +271,7 @@  discard block
 block discarded – undo
271 271
     /**
272 272
      * Determine if current reflection object has constructor.
273 273
      *
274
-     * @param \ReflectionClass $refl The current reflection class object.
274
+     * @param Internal\ReflectionClassFactory $refl The current reflection class object.
275 275
      * @return boolean
276 276
      */
277 277
     protected function hasConstructor(Internal\ReflectionClassFactory $refl)
@@ -282,7 +282,7 @@  discard block
 block discarded – undo
282 282
     /**
283 283
      * Determine if unresolvable class name has cloneable.
284 284
      *
285
-     * @param \ReflectionClass $refl The current reflection class object.
285
+     * @param Internal\ReflectionClassFactory $refl The current reflection class object.
286 286
      * @return boolean
287 287
      */
288 288
     protected function isCloneable(Internal\ReflectionClassFactory $refl)
@@ -293,7 +293,7 @@  discard block
 block discarded – undo
293 293
     /**
294 294
      * Determine if unresolvable class name has serializable.
295 295
      *
296
-     * @param \ReflectionClass $refl The current reflection class object.
296
+     * @param Internal\ReflectionClassFactory $refl The current reflection class object.
297 297
      * @return boolean
298 298
      */
299 299
     protected function isSerializable(Internal\ReflectionClassFactory $refl)
@@ -304,7 +304,7 @@  discard block
 block discarded – undo
304 304
     /**
305 305
      * Resolving class name without constructor.
306 306
      *
307
-     * @param \ReflectionClass $refl An instance of \ReflectionClass
307
+     * @param Internal\ReflectionClassFactory $refl An instance of \ReflectionClass
308 308
      */
309 309
     protected function resolveInstanceWithoutConstructor(Internal\ReflectionClassFactory $refl)
310 310
     {
@@ -314,7 +314,7 @@  discard block
 block discarded – undo
314 314
     /**
315 315
      * Get method parameters.
316 316
      *
317
-     * @param \ReflectionClass $refl An reflection class instance.
317
+     * @param Internal\ReflectionClassFactory $refl An reflection class instance.
318 318
      * @param string $method The method name.
319 319
      * @return array
320 320
      */
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
@@ -84,6 +84,9 @@  discard block
 block discarded – undo
84 84
         return $this->reflection->getInterfaces();
85 85
     }
86 86
 
87
+    /**
88
+     * @param string $name
89
+     */
87 90
     public function getMethod($name)
88 91
     {
89 92
         return $this->reflection->getMethod($name);
@@ -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.