Passed
Push — master ( c6c1d6...f962e2 )
by Anton
02:32
created
src/Serializer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -159,10 +159,10 @@
 block discarded – undo
159 159
     {
160 160
         $result = [];
161 161
         foreach (['id', 'type'] as $key) {
162
-            $getter = 'get' . ucfirst($key);
162
+            $getter = 'get'.ucfirst($key);
163 163
             $value = $identifier->$getter();
164 164
             if ($value === null || is_array($value) || (is_object($value) && !method_exists($value, '__toString'))) {
165
-                throw new InvalidValueException("The value {$key} of resource object " . get_class($identifier) . ' MUST be a string.');
165
+                throw new InvalidValueException("The value {$key} of resource object ".get_class($identifier).' MUST be a string.');
166 166
             }
167 167
             $result[$key] = (string) $value;
168 168
         }
Please login to merge, or discard this patch.