Completed
Pull Request — master (#104)
by Marc
04:31
created
src/Definition/ClassDefinition.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -200,7 +200,7 @@
 block discarded – undo
200 200
     }
201 201
 
202 202
     /**
203
-     * @param $name
203
+     * @param string $name
204 204
      * @param bool $inherit
205 205
      * @return Node\Stmt\Property
206 206
      */
Please login to merge, or discard this patch.
src/Compiler/Statement/ReturnSt.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 
8 8
 use PHPSA\CompiledExpression;
9 9
 use PHPSA\Context;
10
-use PHPSA\Compiler\Expression;
11 10
 
12 11
 class TryCatchSt extends AbstractCompiler
13 12
 {
Please login to merge, or discard this patch.
src/Definition/ClassMethod.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 
8 8
 use PHPSA\CompiledExpression;
9 9
 use PHPSA\Context;
10
-use PHPSA\Compiler\Expression;
11 10
 
12 11
 class TryCatchSt extends AbstractCompiler
13 12
 {
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -215,7 +215,7 @@
 block discarded – undo
215 215
     }
216 216
 
217 217
     /**
218
-    * @return array
218
+    * @return Node\Param[]
219 219
     */
220 220
     public function getParams()
221 221
     {
Please login to merge, or discard this patch.
tests/PHPSA/TestCase.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
     }
38 38
 
39 39
     /**
40
-     * @param $actual
40
+     * @param CompiledExpression $actual
41 41
      * @param string $message
42 42
      */
43 43
     protected function assertInstanceOfCompiledExpression($actual, $message = '')
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 
8 8
 use PHPSA\CompiledExpression;
9 9
 use PHPSA\Context;
10
-use PHPSA\Compiler\Expression;
11 10
 
12 11
 class TryCatchSt extends AbstractCompiler
13 12
 {
Please login to merge, or discard this patch.
src/Compiler/Statement/ForeachSt.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace Tests\PHPSA\Expression\BinaryOp;
4 4
 
5 5
 use PhpParser\Node;
6
-use PHPSA\CompiledExpression;
7 6
 use PHPSA\Compiler\Expression;
8 7
 use PHPSA\Compiler\Expression\Operators\UnaryMinus;
9 8
 
Please login to merge, or discard this patch.
src/Compiler/Expression/MethodCall.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 
6 6
 namespace PHPSA\Compiler\Expression;
7 7
 
8
-use PhpParser\Node\Expr\Variable;
9 8
 use PHPSA\Check;
10 9
 use PHPSA\CompiledExpression;
11 10
 use PHPSA\Context;
Please login to merge, or discard this patch.