@@ -228,12 +228,12 @@ discard block |
||
228 | 228 | |
229 | 229 | $tags = $docBlock->getTagsByName($tagName); |
230 | 230 | |
231 | - if(!in_array($tagName,$inclusion_tag_name)) |
|
231 | + if (!in_array($tagName, $inclusion_tag_name)) |
|
232 | 232 | { |
233 | 233 | return ''; |
234 | 234 | } |
235 | 235 | |
236 | - if(in_array($tagName,$inclusion_tag_name) && count($tags) === 0) |
|
236 | + if (in_array($tagName, $inclusion_tag_name) && count($tags) === 0) |
|
237 | 237 | { |
238 | 238 | return ''; |
239 | 239 | } |
@@ -450,7 +450,7 @@ discard block |
||
450 | 450 | $deprecated = $docBlock->getTagsByName('deprecated'); |
451 | 451 | } |
452 | 452 | |
453 | - $modifiers = $method->getVisibility(); |
|
453 | + $modifiers = $method->getVisibility(); |
|
454 | 454 | $modifiers .= $method->isAbstract() ? ' abstract' : ''; |
455 | 455 | $modifiers .= $method->isFinal() ? ' final' : ''; |
456 | 456 | $modifiers .= $method->isStatic() ? ' static' : ''; |
@@ -522,7 +522,7 @@ discard block |
||
522 | 522 | $args = ''; |
523 | 523 | /** @var Argument $argument */ |
524 | 524 | foreach ($method->getArguments() as $argument) { |
525 | - $args= $this->processMethodArgumentType($argument, $args); |
|
525 | + $args = $this->processMethodArgumentType($argument, $args); |
|
526 | 526 | } |
527 | 527 | $args = substr($args, 0, -2); |
528 | 528 | return $args; |
@@ -546,11 +546,11 @@ discard block |
||
546 | 546 | if ($argument->isByReference()) { |
547 | 547 | $args .= '&'; |
548 | 548 | } |
549 | - $args .= '$' . $argument->getName(); |
|
549 | + $args .= '$' . $argument->getName(); |
|
550 | 550 | $default = $argument->getDefault(); |
551 | 551 | if ($default !== NULL) { |
552 | 552 | $default = $default === '' ? '""' : $default; |
553 | - $args .= '=' . self::escape($default); |
|
553 | + $args .= '=' . self::escape($default); |
|
554 | 554 | } |
555 | 555 | $args .= ', '; |
556 | 556 | return $args; |
@@ -150,7 +150,7 @@ discard block |
||
150 | 150 | new Factory\Property(new PrettyPrinter()), |
151 | 151 | new Factory\Trait_(), |
152 | 152 | ]); |
153 | - $this->project = $projectFactory->create('MyProject', $interfaceList); |
|
153 | + $this->project = $projectFactory->create('MyProject', $interfaceList); |
|
154 | 154 | $this->log('Successfully parsed files.'); |
155 | 155 | |
156 | 156 | // load extensions |
@@ -286,7 +286,7 @@ discard block |
||
286 | 286 | $this->log('Build indexes.'); |
287 | 287 | $namespaces = $this->project->getNamespaces(); |
288 | 288 | $namespaces['\\'] = $this->project->getRootNamespace(); |
289 | - usort($namespaces, function (Namespace_ $a, Namespace_ $b) { |
|
289 | + usort($namespaces, function(Namespace_ $a, Namespace_ $b) { |
|
290 | 290 | return strcmp($a->getFqsen(), $b->getFqsen()); |
291 | 291 | }); |
292 | 292 | /** @var Namespace_ $namespace */ |