@@ -166,10 +166,10 @@ |
||
166 | 166 | { |
167 | 167 | $result = []; |
168 | 168 | foreach (['id', 'type'] as $key) { |
169 | - $getter = 'get' . ucfirst($key); |
|
169 | + $getter = 'get'.ucfirst($key); |
|
170 | 170 | $value = $identifier->$getter(); |
171 | 171 | if ($value === null || is_array($value) || (is_object($value) && !method_exists($value, '__toString'))) { |
172 | - throw new InvalidValueException("The value {$key} of resource object " . get_class($identifier) . ' MUST be a string.'); |
|
172 | + throw new InvalidValueException("The value {$key} of resource object ".get_class($identifier).' MUST be a string.'); |
|
173 | 173 | } |
174 | 174 | if ($key === 'type' && $this->pluralize) { |
175 | 175 | $value = Inflector::pluralize($value); |