Completed
Push — master ( a1c8e7...7d2da4 )
by Thomas
04:30
created
src/parser/visitor/AbstractPhpStructVisitor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -187,7 +187,7 @@
 block discarded – undo
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
 			
Please login to merge, or discard this patch.
src/model/PhpParameter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 	/**
Please login to merge, or discard this patch.