Completed
Push — master ( bc5222...61615e )
by Arne
02:37
created
src/docblock/elements/VarElement.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare(strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 namespace TheSeer\phpDox\DocBlock;
3 3
 
4 4
 use TheSeer\phpDox\TypeAwareInterface;
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
         if (count($types) > 1) {
19 19
             $node->setAttribute('type', 'mixed');
20 20
 
21
-            foreach ($types as $oneType) {
21
+            foreach($types as $oneType) {
22 22
                 $this->typeResolver($node, $oneType);
23 23
             }
24 24
 
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
         }
59 59
         $nodeType = $node->appendElementNS(self::XMLNS, 'type');
60 60
         $nodeType->setAttribute('full', $type);
61
-        $nodeType->setAttribute('array', $isArray?'true':'false');
61
+        $nodeType->setAttribute('array', $isArray ? 'true' : 'false');
62 62
 
63 63
         if ($this->isBuiltInType($type, self::TYPE_PHPDOC|self::TYPE_PHPDOX)) {
64 64
             $nodeType->setAttribute('name', $type);
Please login to merge, or discard this patch.