Completed
Pull Request — develop (#126)
by Chuck
10:01
created
src/phpDocumentor/Reflection/Php/NodesFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 /**
5 5
  * This file is part of phpDocumentor.
Please login to merge, or discard this patch.
src/phpDocumentor/Reflection/Php/Property.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 /**
5 5
  * This file is part of phpDocumentor.
Please login to merge, or discard this patch.
src/phpDocumentor/Reflection/Php/Factory/Class_.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 /**
5 5
  * This file is part of phpDocumentor.
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
         $classElement = new ClassElement(
63 63
             $object->fqsen,
64 64
             $docBlock,
65
-            $object->extends ? new Fqsen('\\' . $object->extends) : null,
65
+            $object->extends ? new Fqsen('\\'.$object->extends) : null,
66 66
             $object->isAbstract(),
67 67
             $object->isFinal(),
68 68
             new Location($object->getLine())
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
         if (isset($object->implements)) {
72 72
             foreach ($object->implements as $interfaceClassName) {
73 73
                 $classElement->addInterface(
74
-                    new Fqsen('\\' . $interfaceClassName->toString())
74
+                    new Fqsen('\\'.$interfaceClassName->toString())
75 75
                 );
76 76
             }
77 77
         }
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
                 switch (get_class($stmt)) {
82 82
                     case TraitUse::class:
83 83
                         foreach ($stmt->traits as $use) {
84
-                            $classElement->addUsedTrait(new Fqsen('\\' . $use->toString()));
84
+                            $classElement->addUsedTrait(new Fqsen('\\'.$use->toString()));
85 85
                         }
86 86
                         break;
87 87
                     case PropertyNode::class:
Please login to merge, or discard this patch.
src/phpDocumentor/Reflection/Php/Factory/Method.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 /**
5 5
  * This file is part of phpDocumentor.
@@ -56,9 +56,9 @@  discard block
 block discarded – undo
56 56
         if ($object->getReturnType() !== null) {
57 57
             $typeResolver = new TypeResolver();
58 58
             if ($object->getReturnType() instanceof NullableType) {
59
-                $typeString = '?' . $object->getReturnType()->type;
59
+                $typeString = '?'.$object->getReturnType()->type;
60 60
             } else {
61
-                $typeString = (string) $object->getReturnType();
61
+                $typeString = (string)$object->getReturnType();
62 62
             }
63 63
 
64 64
             $returnType = $typeResolver->resolve($typeString, $context);
Please login to merge, or discard this patch.
src/phpDocumentor/Reflection/Php/Factory/Argument.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 /**
5 5
  * This file is part of phpDocumentor.
Please login to merge, or discard this patch.
src/phpDocumentor/Reflection/Php/Factory/ClassConstantIterator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 /**
5 5
  * This file is part of phpDocumentor.
Please login to merge, or discard this patch.
src/phpDocumentor/Reflection/Php/Factory/Property.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 /**
5 5
  * This file is part of phpDocumentor.
Please login to merge, or discard this patch.
src/phpDocumentor/Reflection/Php/Factory/Function_.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 /**
5 5
  * This file is part of phpDocumentor.
@@ -60,9 +60,9 @@  discard block
 block discarded – undo
60 60
         if ($object->getReturnType() !== null) {
61 61
             $typeResolver = new TypeResolver();
62 62
             if ($object->getReturnType() instanceof NullableType) {
63
-                $typeString = '?' . $object->getReturnType()->type;
63
+                $typeString = '?'.$object->getReturnType()->type;
64 64
             } else {
65
-                $typeString = (string) $object->getReturnType();
65
+                $typeString = (string)$object->getReturnType();
66 66
             }
67 67
 
68 68
             $returnType = $typeResolver->resolve($typeString, $context);
Please login to merge, or discard this patch.
src/phpDocumentor/Reflection/Php/Factory/Trait_.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 /**
5 5
  * This file is part of phpDocumentor.
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
                         break;
73 73
                     case TraitUse::class:
74 74
                         foreach ($stmt->traits as $use) {
75
-                            $trait->addUsedTrait(new Fqsen('\\' . $use->toString()));
75
+                            $trait->addUsedTrait(new Fqsen('\\'.$use->toString()));
76 76
                         }
77 77
                         break;
78 78
                 }
Please login to merge, or discard this patch.