Completed
Push — master ( edf0e8...eb9261 )
by Nikola
03:47
created
src/RunOpenCode/AbstractBuilder/Ast/Metadata/ParameterMetadata.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
      * @param string $type
56 56
      * @param bool $byRef
57 57
      * @param bool $variadic
58
-     * @param mixed $default
58
+     * @param null|\PhpParser\Node\Expr $default
59 59
      */
60 60
     public function __construct($name, $type = null, $byRef = false, $variadic = false, $default = null, Param $ast = null)
61 61
     {
Please login to merge, or discard this patch.
src/RunOpenCode/AbstractBuilder/Generator/BuilderClassFactory.php 2 patches
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -167,6 +167,9 @@  discard block
 block discarded – undo
167 167
         return $this;
168 168
     }
169 169
 
170
+    /**
171
+     * @param string $name
172
+     */
170 173
     public function addGetter($name, ParameterMetadata $parameter)
171 174
     {
172 175
         $method = $this->factory->method($name)
@@ -189,6 +192,9 @@  discard block
 block discarded – undo
189 192
         return $this;
190 193
     }
191 194
 
195
+    /**
196
+     * @param string $name
197
+     */
192 198
     public function addSetter($name, ParameterMetadata $parameter)
193 199
     {
194 200
         $ast = $parameter->getAst();
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace RunOpenCode\AbstractBuilder\Generator;
4 4
 
5 5
 use PhpParser\Node\Param;
6
-use PhpParser\Node\Stmt;
7 6
 use PhpParser\Node\Stmt\ClassMethod;
8 7
 use RunOpenCode\AbstractBuilder\Ast\BuilderFactory;
9 8
 use RunOpenCode\AbstractBuilder\Ast\Metadata\ClassMetadata;
Please login to merge, or discard this patch.