@@ -159,10 +159,10 @@ |
||
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 | } |