@@ -172,7 +172,7 @@ discard block |
||
172 | 172 | { |
173 | 173 | if (!$this->hasField($name)) { |
174 | 174 | //We are only allowing to modify existed fields, this is strict schema |
175 | - throw new FieldException("Undefined field '{$name}' in '" . static::class . "'"); |
|
175 | + throw new FieldException("Undefined field '{$name}' in '".static::class."'"); |
|
176 | 176 | } |
177 | 177 | |
178 | 178 | //Original field value |
@@ -251,7 +251,7 @@ discard block |
||
251 | 251 | if ($value instanceof CompositableInterface) { |
252 | 252 | $atomics = array_merge_recursive( |
253 | 253 | $atomics, |
254 | - $value->buildAtomics((!empty($container) ? $container . '.' : '') . $field) |
|
254 | + $value->buildAtomics((!empty($container) ? $container.'.' : '').$field) |
|
255 | 255 | ); |
256 | 256 | |
257 | 257 | continue; |
@@ -266,7 +266,7 @@ discard block |
||
266 | 266 | |
267 | 267 | if (array_key_exists($field, $this->updates)) { |
268 | 268 | //Generating set operation for changed field |
269 | - $atomics['$set'][(!empty($container) ? $container . '.' : '') . $field] = $value; |
|
269 | + $atomics['$set'][(!empty($container) ? $container.'.' : '').$field] = $value; |
|
270 | 270 | } |
271 | 271 | } |
272 | 272 |
@@ -100,7 +100,7 @@ discard block |
||
100 | 100 | break; |
101 | 101 | default: |
102 | 102 | throw new EntityException( |
103 | - "Undefined field format '" . static::FIELD_FORMAT . "'" |
|
103 | + "Undefined field format '".static::FIELD_FORMAT."'" |
|
104 | 104 | ); |
105 | 105 | } |
106 | 106 | |
@@ -519,7 +519,7 @@ discard block |
||
519 | 519 | ): AccessorInterface { |
520 | 520 | if (!is_string($accessor) || !class_exists($accessor)) { |
521 | 521 | throw new EntityException( |
522 | - "Unable to create accessor for field {$field} in " . static::class |
|
522 | + "Unable to create accessor for field {$field} in ".static::class |
|
523 | 523 | ); |
524 | 524 | } |
525 | 525 |