Completed
Pull Request — master (#97)
by
unknown
02:17
created
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/NodeVisitor/RootNamespaceNormalizer.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,6 @@
 block discarded – undo
10 10
 
11 11
 namespace Go\ParserReflection\NodeVisitor;
12 12
 
13
-use PhpParser\Node\Name\FullyQualified;
14 13
 use PhpParser\Node\Stmt\Declare_;
15 14
 use PhpParser\Node\Stmt\Namespace_;
16 15
 use PhpParser\NodeVisitorAbstract;
Please login to merge, or discard this patch.
src/ReflectionFunction.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
      * Initializes reflection instance for given AST-node
27 27
      *
28 28
      * @param string|\Closure $functionName The name of the function to reflect or a closure.
29
-     * @param Function_|null  $functionNode Function node AST
29
+     * @param Function_  $functionNode Function node AST
30 30
      */
31 31
     public function __construct($functionName, Function_ $functionNode)
32 32
     {
Please login to merge, or discard this patch.
src/ReflectionProperty.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -160,6 +160,7 @@
 block discarded – undo
160 160
 
161 161
     /**
162 162
      * @inheritDoc
163
+     * @return string
163 164
      */
164 165
     public function getName()
165 166
     {
Please login to merge, or discard this patch.
src/polyfill.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -8,8 +8,6 @@
 block discarded – undo
8 8
  * with this source code in the file LICENSE.
9 9
  */
10 10
 
11
-use Go\ParserReflection\ReflectionClass;
12
-
13 11
 /**
14 12
  * This file is for ployfilling classes not defined in all supported
15 13
  * versions of PHP, (i.e. PHP < 7).
Please login to merge, or discard this patch.