Completed
Pull Request — master (#196)
by Enrico
05:42
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.
tests/PHPSA/TestCase.php 1 patch
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.
src/Analyzer/Pass/Statement/AssignmentInCondition.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
     /**
23 23
      * @param ClassMethod $methodStmt
24 24
      * @param Context $context
25
-     * @return bool
25
+     * @return boolean|null
26 26
      */
27 27
     public function pass(ClassMethod $methodStmt, Context $context)
28 28
     {
Please login to merge, or discard this 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\Analyzer\Pass\Statement;
7 7
 
8
-use PhpParser\Node\Expr;
9 8
 use PhpParser\Node\Expr\Assign;
10 9
 use PhpParser\Node\Stmt;
11 10
 use PhpParser\Node\Stmt\Do_;
Please login to merge, or discard this patch.
src/Compiler/Expression.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 InvalidArgumentException;
9 9
 use phpDocumentor\Reflection\DocBlockFactory;
10
-use PHPSA\Check;
11 10
 use PHPSA\CompiledExpression;
12 11
 use PHPSA\Compiler\Event\ExpressionBeforeCompile;
13 12
 use PHPSA\Context;
Please login to merge, or discard this patch.