@@ -236,7 +236,7 @@ discard block |
||
236 | 236 | { |
237 | 237 | foreach ($this->dataObjectsState as $field => $value) { |
238 | 238 | if (is_string($value) && $this->isStringable($current[$field])) { |
239 | - if ((string) $current[$field] !== $value) { |
|
239 | + if ((string)$current[$field] !== $value) { |
|
240 | 240 | unset($from[$field]); |
241 | 241 | } |
242 | 242 | } |
@@ -253,7 +253,7 @@ discard block |
||
253 | 253 | { |
254 | 254 | foreach ($data as $field => $value) { |
255 | 255 | if ($this->isStringable($value)) { |
256 | - $this->dataObjectsState[$field] = (string) $value; |
|
256 | + $this->dataObjectsState[$field] = (string)$value; |
|
257 | 257 | } |
258 | 258 | if ($value instanceof DateTime) { |
259 | 259 | $this->dataObjectsState[$field] = DateTimeImmutable::createFromMutable($value); |