Completed
Pull Request — master (#36)
by Emanuele
03:48
created
src/Analyzer/AstTraverser.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
     private $cloneNodes = false;
17 17
 
18 18
     /**
19
-     * @param array $visitors
19
+     * @param \PHPSA\Node\Visitor\FunctionCall[] $visitors
20 20
      * @param Context $context
21 21
      */
22 22
     public function __construct(array $visitors, Context $context)
Please login to merge, or discard this patch.
src/Compiler.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
     /**
80 80
      * Try to find function with $namespace from pre-compiled function(s)
81 81
      *
82
-     * @param $name
82
+     * @param string $name
83 83
      * @param string|null $namespace
84 84
      * @return bool|FunctionDefinition
85 85
      */
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
     /**
98 98
      * Try to find function from pre-compiled function(s)
99 99
      *
100
-     * @param $name
100
+     * @param string $name
101 101
      * @return bool|FunctionDefinition
102 102
      */
103 103
     public function getFunction($name)
Please login to merge, or discard this patch.
src/Compiler/Statement/ForeachSt.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
     /**
18 18
      * @param \PhpParser\Node\Stmt\Foreach_ $stmt
19 19
      * @param Context $context
20
-     * @return CompiledExpression
20
+     * @return null|boolean
21 21
      */
22 22
     public function compile($stmt, Context $context)
23 23
     {
Please login to merge, or discard this patch.
src/Definition/ClassDefinition.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -187,8 +187,8 @@
 block discarded – undo
187 187
     }
188 188
 
189 189
     /**
190
-     * @param $name
191
-     * @return CompiledExpression
190
+     * @param string $name
191
+     * @return Node\Stmt\Property
192 192
      */
193 193
     public function getProperty($name)
194 194
     {
Please login to merge, or discard this patch.
src/Definition/ReflectionClassMethod.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
 
50 50
     /**
51 51
      * @param Context $context
52
-     * @return boolean|null
52
+     * @return ReflectionClassMethod
53 53
      */
54 54
     public function compile(Context $context)
55 55
     {
Please login to merge, or discard this patch.