@@ -91,7 +91,7 @@ |
||
| 91 | 91 | */ |
| 92 | 92 | public function setValueAttribute($value, $type = null) |
| 93 | 93 | { |
| 94 | - if (is_null($type) && ! isset($this->attributes['type'])) { |
|
| 94 | + if (is_null($type) && !isset($this->attributes['type'])) { |
|
| 95 | 95 | $registry = $this->getTypeRegistry(); |
| 96 | 96 | $this->attributes['type'] = $registry->findTypeFor($value)->getClass(); |
| 97 | 97 | } |