Completed
Pull Request — develop (#144)
by Jaap
08:03
created
src/phpDocumentor/Reflection/Php/Factory/PropertyIterator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@
 block discarded – undo
99 99
      */
100 100
     public function getName() : string
101 101
     {
102
-        return (string) $this->property->props[$this->index]->name;
102
+        return (string)$this->property->props[$this->index]->name;
103 103
     }
104 104
 
105 105
     /**
Please login to merge, or discard this patch.
src/phpDocumentor/Reflection/Php/Factory/Argument.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -73,16 +73,16 @@
 block discarded – undo
73 73
             $type = $this->createType($object);
74 74
         }
75 75
 
76
-        return new ArgumentDescriptor((string) $object->var->name, $type, $default, $object->byRef, $object->variadic);
76
+        return new ArgumentDescriptor((string)$object->var->name, $type, $default, $object->byRef, $object->variadic);
77 77
     }
78 78
 
79 79
     private function createType(Param $arg, ?Context $context = null) : Type
80 80
     {
81 81
         $typeResolver = new TypeResolver();
82 82
         if ($arg->type instanceof NullableType) {
83
-            $typeString = '?' . $arg->type->type;
83
+            $typeString = '?'.$arg->type->type;
84 84
         } else {
85
-            $typeString = (string) $arg->type;
85
+            $typeString = (string)$arg->type;
86 86
         }
87 87
 
88 88
         return $typeResolver->resolve($typeString, $context);
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
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
      */
54 54
     public function getName() : string
55 55
     {
56
-        return (string) $this->classConstants->consts[$this->index]->name;
56
+        return (string)$this->classConstants->consts[$this->index]->name;
57 57
     }
58 58
 
59 59
     /**
Please login to merge, or discard this patch.
src/phpDocumentor/Reflection/Php/Factory/Interface_.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
         $docBlock = $this->createDocBlock($strategies, $object->getDocComment(), $context);
51 51
         $parents  = [];
52 52
         foreach ($object->extends as $extend) {
53
-            $parents['\\' . (string) $extend] = new Fqsen('\\' . (string) $extend);
53
+            $parents['\\'.(string)$extend] = new Fqsen('\\'.(string)$extend);
54 54
         }
55 55
 
56 56
         $interface = new InterfaceElement($object->fqsen, $parents, $docBlock, new Location($object->getLine()));
Please login to merge, or discard this patch.
src/phpDocumentor/Reflection/Php/Project.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@
 block discarded – undo
91 91
      */
92 92
     public function addNamespace(Namespace_ $namespace) : void
93 93
     {
94
-        $this->namespaces[(string) $namespace->getFqsen()] = $namespace;
94
+        $this->namespaces[(string)$namespace->getFqsen()] = $namespace;
95 95
     }
96 96
 
97 97
     /**
Please login to merge, or discard this patch.