Completed
Push — master ( ed8812...301019 )
by Lars
01:38
created
src/Property.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
 
74 74
         $expectedTypes = \implode('|', $this->getTypes());
75 75
 
76
-        throw new \InvalidArgumentException("Invalid type: expected {$this->property_name} to be of type {{$expectedTypes}}, instead got value `" . \print_r($value, true) . "` with type {{$type}}.");
76
+        throw new \InvalidArgumentException("Invalid type: expected {$this->property_name} to be of type {{$expectedTypes}}, instead got value `".\print_r($value, true)."` with type {{$type}}.");
77 77
     }
78 78
 
79 79
     public static function fromPhpDocumentorProperty(\phpDocumentor\Reflection\DocBlock\Tags\Property $phpDocumentorReflectionProperty): self
@@ -137,9 +137,9 @@  discard block
 block discarded – undo
137 137
         }
138 138
 
139 139
         if ($type instanceof \phpDocumentor\Reflection\Types\Array_) {
140
-            $valueTypeTmp = $type->getValueType() . '';
140
+            $valueTypeTmp = $type->getValueType().'';
141 141
             if ($valueTypeTmp !== 'mixed') {
142
-                return $valueTypeTmp . '[]';
142
+                return $valueTypeTmp.'[]';
143 143
             }
144 144
 
145 145
             return 'array';
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
             return 'resource';
186 186
         }
187 187
 
188
-        return $type . '';
188
+        return $type.'';
189 189
     }
190 190
 
191 191
     /**
Please login to merge, or discard this patch.