@@ -64,7 +64,7 @@ discard block |
||
64 | 64 | $docblock = new Docblock($ref->getDeclaringFunction()); |
65 | 65 | |
66 | 66 | $params = $docblock->getTags('param'); |
67 | - $tag = $params->find($ref->name, function (ParamTag $t, $name) { |
|
67 | + $tag = $params->find($ref->name, function(ParamTag $t, $name) { |
|
68 | 68 | return $t->getVariable() == '$' . $name; |
69 | 69 | }); |
70 | 70 | |
@@ -123,7 +123,7 @@ discard block |
||
123 | 123 | */ |
124 | 124 | public function getDocblockTag() { |
125 | 125 | return ParamTag::create() |
126 | - ->setType($this->getType() ? : 'mixed') |
|
126 | + ->setType($this->getType() ?: 'mixed') |
|
127 | 127 | ->setVariable($this->getName()) |
128 | 128 | ->setDescription($this->getTypeDescription()); |
129 | 129 | } |