Completed
Push — master ( b996fd...489703 )
by Alexander
9s
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/ReflectionClassLikeTrait.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -306,6 +306,7 @@  discard block
 block discarded – undo
306 306
 
307 307
     /**
308 308
      * {@inheritdoc}
309
+     * @param string $name
309 310
      */
310 311
     public function getMethod($name)
311 312
     {
@@ -499,6 +500,7 @@  discard block
 block discarded – undo
499 500
 
500 501
     /**
501 502
      * {@inheritdoc}
503
+     * @param string $name
502 504
      */
503 505
     public function hasMethod($name)
504 506
     {
@@ -529,6 +531,7 @@  discard block
 block discarded – undo
529 531
 
530 532
     /**
531 533
      * {@inheritDoc}
534
+     * @param string $interfaceName
532 535
      */
533 536
     public function implementsInterface($interfaceName)
534 537
     {
Please login to merge, or discard this patch.
src/ValueResolver/NodeExpressionResolver.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -159,6 +159,9 @@
 block discarded – undo
159 159
         return '';
160 160
     }
161 161
 
162
+    /**
163
+     * @return string
164
+     */
162 165
     protected function resolveScalarMagicConstNamespace()
163 166
     {
164 167
         if (method_exists($this->context, 'getNamespaceName')) {
Please login to merge, or discard this patch.
src/ReflectionClass.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
     /**
30 30
      * Initializes reflection instance
31 31
      *
32
-     * @param string|object $argument Class name or instance of object
32
+     * @param string|null $argument Class name or instance of object
33 33
      * @param ClassLike $classLikeNode AST node for class
34 34
      */
35 35
     public function __construct($argument, ClassLike $classLikeNode = null)
Please login to merge, or discard this patch.
src/ReflectionType.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -38,6 +38,8 @@
 block discarded – undo
38 38
 
39 39
     /**
40 40
      * Initializes reflection data
41
+     * @param boolean $allowsNull
42
+     * @param boolean $isBuiltin
41 43
      */
42 44
     public function __construct($type, $allowsNull, $isBuiltin)
43 45
     {
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.