@@ -66,7 +66,7 @@ |
||
| 66 | 66 | protected function mapRelationshipsArray(array $data) |
| 67 | 67 | { |
| 68 | 68 | return array_map( |
| 69 | - function ($relation) { |
|
| 69 | + function($relation) { |
|
| 70 | 70 | return $this->getResourceId($relation) ?: ['attributes' => $relation]; |
| 71 | 71 | }, |
| 72 | 72 | $data |
@@ -127,7 +127,7 @@ |
||
| 127 | 127 | |
| 128 | 128 | $type = Type::getType($fieldType); |
| 129 | 129 | |
| 130 | - if (! in_array($type->getName(), $jsonTypes, true)) { |
|
| 130 | + if (!in_array($type->getName(), $jsonTypes, true)) { |
|
| 131 | 131 | $value = $type->convertToPHPValue($value, $platform); |
| 132 | 132 | } |
| 133 | 133 | } |