Completed
Pull Request — master (#293)
by Дмитрий
04:54
created
tests/PHPSA/TestCase.php 1 patch
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.
src/Configuration.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
      * Create a configuration from array.
25 25
      *
26 26
      * @param array $configuration
27
-     * @param array $analyzersConfiguration
27
+     * @param \Symfony\Component\Config\Definition\Builder\NodeDefinition[] $analyzersConfiguration
28 28
      */
29 29
     public function __construct(array $configuration = [], array $analyzersConfiguration = [])
30 30
     {
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
      * Gets a configuration setting.
105 105
      *
106 106
      * @param string $key
107
-     * @param mixed $default
107
+     * @param string $default
108 108
      *
109 109
      * @return mixed
110 110
      */
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
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
     protected $root;
22 22
 
23 23
     /**
24
-     * @param $statement
24
+     * @param Function_ $statement
25 25
      */
26 26
     public function __construct($statement)
27 27
     {
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
     }
36 36
 
37 37
     /**
38
-     * @param array $nodes
38
+     * @param \PhpParser\Node[] $nodes
39 39
      * @param Block $block
40 40
      */
41 41
     protected function passNodes(array $nodes, Block $block)
Please login to merge, or discard this patch.