@@ -187,7 +187,7 @@ |
||
187 | 187 | $p->setDefaultValue($this->getValue($default)); |
188 | 188 | } |
189 | 189 | |
190 | - $tag = $params->find($p, function (ParamTag $t, $p) { |
|
190 | + $tag = $params->find($p, function(ParamTag $t, $p) { |
|
191 | 191 | return $t->getVariable() == '$' . $p->getName(); |
192 | 192 | }); |
193 | 193 |
@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | $docblock = new Docblock($ref->getDeclaringFunction()); |
57 | 57 | |
58 | 58 | $params = $docblock->getTags('param'); |
59 | - $tag = $params->find($ref->name, function (ParamTag $t, $name) { |
|
59 | + $tag = $params->find($ref->name, function(ParamTag $t, $name) { |
|
60 | 60 | return $t->getVariable() == '$' . $name; |
61 | 61 | }); |
62 | 62 | |
@@ -101,7 +101,7 @@ discard block |
||
101 | 101 | * @return ParamTag |
102 | 102 | */ |
103 | 103 | public function getDocblockTag() { |
104 | - return ParamTag::create()->setType($this->getType() ? : 'mixed')->setVariable($this->getName())->setDescription($this->getTypeDescription()); |
|
104 | + return ParamTag::create()->setType($this->getType() ?: 'mixed')->setVariable($this->getName())->setDescription($this->getTypeDescription()); |
|
105 | 105 | } |
106 | 106 | |
107 | 107 | /** |