Completed
Pull Request — master (#139)
by Kévin
04:22
created
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/Definition/ClassMethod.php 1 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.
src/Definition/RuntimeClassDefinition.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@
 block discarded – undo
103 103
     }
104 104
 
105 105
     /**
106
-     * @return null|ClassDefinition
106
+     * @return null|RuntimeClassDefinition
107 107
      */
108 108
     public function getExtendsClassDefinition()
109 109
     {
Please login to merge, or discard this patch.
tests/PHPSA/Defintion/RuntimeClassDefintionTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use PHPSA\Compiler\Parameter;
6 6
 use PHPSA\Definition\RuntimeClassDefinition;
7
-use PHPSA\Variable;
8 7
 use ReflectionClass;
9 8
 use Tests\PHPSA\TestCase;
10 9
 
Please login to merge, or discard this patch.
src/Analyzer/Pass/Metadata.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,8 +45,8 @@
 block discarded – undo
45 45
 
46 46
     /**
47 47
      * @param string $name
48
-     * @param null $description
49
-     * @param NodeDefinition|null $config
48
+     * @param string|null $description
49
+     * @param NodeDefinition $config
50 50
      */
51 51
     private function __construct($name, NodeDefinition $config, $description = null)
52 52
     {
Please login to merge, or discard this patch.