Completed
Pull Request — develop (#132)
by Jaap
05:40 queued 04:03
created
src/phpDocumentor/Reflection/File/LocalFile.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
      */
41 41
     public function getContents(): string
42 42
     {
43
-        return (string) file_get_contents($this->path);
43
+        return (string)file_get_contents($this->path);
44 44
     }
45 45
 
46 46
     /**
Please login to merge, or discard this patch.
src/phpDocumentor/Reflection/PrettyPrinter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,6 +57,6 @@
 block discarded – undo
57 57
             return $node->value;
58 58
         }
59 59
 
60
-        return (string) $node->getAttribute('originalValue');
60
+        return (string)$node->getAttribute('originalValue');
61 61
     }
62 62
 }
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
@@ -76,16 +76,16 @@
 block discarded – undo
76 76
             $type = $this->createType($object);
77 77
         }
78 78
 
79
-        return new ArgumentDescriptor((string) $object->var->name, $type, $default, $object->byRef, $object->variadic);
79
+        return new ArgumentDescriptor((string)$object->var->name, $type, $default, $object->byRef, $object->variadic);
80 80
     }
81 81
 
82 82
     private function createType(Param $arg, ?Context $context = null): Type
83 83
     {
84 84
         $typeResolver = new TypeResolver();
85 85
         if ($arg->type instanceof NullableType) {
86
-            $typeString = '?' . $arg->type->type;
86
+            $typeString = '?'.$arg->type->type;
87 87
         } else {
88
-            $typeString = (string) $arg->type;
88
+            $typeString = (string)$arg->type;
89 89
         }
90 90
 
91 91
         return $typeResolver->resolve($typeString, $context);
Please login to merge, or discard this patch.