Completed
Push — master ( 0c0f7b...d6a494 )
by Дмитрий
9s
created
tests/PHPSA/TestCase.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
9 9
 use PHPSA\Node\Scalar\Nil;
10 10
 use RuntimeException;
11 11
 use Symfony\Component\Console\Output\ConsoleOutput;
12
-use PHPSA\Definition\ClassDefinition;
13 12
 use PHPSA\Application;
14 13
 use PhpParser\Node;
15 14
 use Webiny\Component\EventManager\EventManager;
Please login to merge, or discard this patch.
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,8 +46,8 @@
 block discarded – undo
46 46
     }
47 47
 
48 48
     /**
49
-     * @param object $expr
50
-     * @param Context|null $expr
49
+     * @param Node\Expr $expr
50
+     * @param Node\Expr $expr
51 51
      * @return \PHPSA\CompiledExpression
52 52
      */
53 53
     protected function compileExpression($expr, Context $context = null)
Please login to merge, or discard this patch.
src/ControlFlow/ControlFlowGraph.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
     protected $context;
40 40
 
41 41
     /**
42
-     * @param $statement
42
+     * @param Function_ $statement
43 43
      */
44 44
     public function __construct($statement, Context $context)
45 45
     {
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
 
136 136
     /**
137 137
      * @param \PhpParser\Node\Expr $expr
138
-     * @return Node\AbstractNode
138
+     * @return Node\AbstractNode|null
139 139
      */
140 140
     protected function passExpr(\PhpParser\Node\Expr $expr)
141 141
     {
Please login to merge, or discard this patch.