@@ -103,7 +103,7 @@ discard block |
||
103 | 103 | */ |
104 | 104 | public function addSimpleDescParameter(string $name, $types = null, string $typeDescription = null, $defaultValue = null) { |
105 | 105 | $types = (array)$types; |
106 | - $parameter = new PhpParameter($name); |
|
106 | + $parameter = new PhpParameter($name); |
|
107 | 107 | $parameter->setTypes($types); |
108 | 108 | $parameter->setTypeDescription($typeDescription); |
109 | 109 | |
@@ -218,9 +218,9 @@ discard block |
||
218 | 218 | $docblock = $this->getDocblock(); |
219 | 219 | $tags = $docblock->getTags('param'); |
220 | 220 | foreach ($this->parameters as $param) { |
221 | - if (!empty($noTypeHint[$param->getName()])) { |
|
222 | - continue; |
|
223 | - } |
|
221 | + if (!empty($noTypeHint[$param->getName()])) { |
|
222 | + continue; |
|
223 | + } |
|
224 | 224 | $ptag = $param->getDocblockTag(); |
225 | 225 | |
226 | 226 | $tag = $tags->find($ptag, function (ParamTag $tag, ParamTag $ptag) { |
@@ -102,7 +102,7 @@ |
||
102 | 102 | * @return $this |
103 | 103 | */ |
104 | 104 | public function addSimpleDescParameter(string $name, $types = null, string $typeDescription = null, $defaultValue = null) { |
105 | - $types = (array)$types; |
|
105 | + $types = (array) $types; |
|
106 | 106 | $parameter = new PhpParameter($name); |
107 | 107 | $parameter->setTypes($types); |
108 | 108 | $parameter->setTypeDescription($typeDescription); |
@@ -78,8 +78,8 @@ |
||
78 | 78 | return $this->name; |
79 | 79 | } |
80 | 80 | |
81 | - public function __toString(): string |
|
82 | - { |
|
83 | - return (string) $this->getName(); |
|
84 | - } |
|
81 | + public function __toString(): string |
|
82 | + { |
|
83 | + return (string) $this->getName(); |
|
84 | + } |
|
85 | 85 | } |