@@ -22,7 +22,7 @@ discard block |
||
| 22 | 22 | protected function parseIds($value) |
| 23 | 23 | { |
| 24 | 24 | if ($value instanceof Model) { |
| 25 | - return [$this->executeWithinOptionalBinaryTransformation(function () use ($value) { |
|
| 25 | + return [$this->executeWithinOptionalBinaryTransformation(function() use ($value) { |
|
| 26 | 26 | return $value->{$this->relatedKey}; |
| 27 | 27 | }, $value)]; |
| 28 | 28 | } |
@@ -47,7 +47,7 @@ discard block |
||
| 47 | 47 | */ |
| 48 | 48 | protected function parseId($value) |
| 49 | 49 | { |
| 50 | - return $value instanceof Model ? $this->executeWithinOptionalBinaryTransformation(function () use ($value) { |
|
| 50 | + return $value instanceof Model ? $this->executeWithinOptionalBinaryTransformation(function() use ($value) { |
|
| 51 | 51 | $value->{$this->relatedKey}; |
| 52 | 52 | }, $value) : $value; |
| 53 | 53 | } |