Completed
Pull Request — master (#76)
by Loren
02:06
created
src/ReflectionFunction.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,8 +24,8 @@
 block discarded – undo
24 24
     /**
25 25
      * Initializes reflection instance for given AST-node
26 26
      *
27
-     * @param string|\Closure $functionName The name of the function to reflect or a closure.
28
-     * @param Function_|null  $functionNode Function node AST
27
+     * @param string $functionName The name of the function to reflect or a closure.
28
+     * @param Function_  $functionNode Function node AST
29 29
      */
30 30
     public function __construct($functionName, Function_ $functionNode)
31 31
     {
Please login to merge, or discard this patch.
src/Traits/ReflectionFunctionLikeTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -174,7 +174,7 @@
 block discarded – undo
174 174
     /**
175 175
      * Gets the specified return type of a function
176 176
      *
177
-     * @return \ReflectionType
177
+     * @return null|ReflectionType
178 178
      *
179 179
      * @link http://php.net/manual/en/reflectionfunctionabstract.getreturntype.php
180 180
      */
Please login to merge, or discard this patch.
src/Traits/ReflectionClassLikeTrait.php 2 patches
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -323,6 +323,7 @@  discard block
 block discarded – undo
323 323
 
324 324
     /**
325 325
      * {@inheritdoc}
326
+     * @param string $name
326 327
      */
327 328
     public function getMethod($name)
328 329
     {
@@ -593,6 +594,7 @@  discard block
 block discarded – undo
593 594
 
594 595
     /**
595 596
      * {@inheritdoc}
597
+     * @param string $name
596 598
      */
597 599
     public function hasMethod($name)
598 600
     {
@@ -623,6 +625,7 @@  discard block
 block discarded – undo
623 625
 
624 626
     /**
625 627
      * {@inheritDoc}
628
+     * @param string $interfaceName
626 629
      */
627 630
     public function implementsInterface($interfaceName)
628 631
     {
@@ -955,5 +958,8 @@  discard block
 block discarded – undo
955 958
         }
956 959
     }
957 960
 
961
+    /**
962
+     * @param string $className
963
+     */
958 964
     abstract protected function createReflectionForClass($className);
959 965
 }
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 namespace Go\ParserReflection\Traits;
12 12
 
13 13
 use Go\ParserReflection\ReflectionClass;
14
-use ReflectionClass as BaseReflectionClass;
15 14
 use Go\ParserReflection\ReflectionException;
16 15
 use Go\ParserReflection\ReflectionMethod;
17 16
 use Go\ParserReflection\ReflectionProperty;
Please login to merge, or discard this patch.