@@ -94,9 +94,7 @@ |
||
| 94 | 94 | if (is_null($type) && ! isset($this->attributes['type'])) { |
| 95 | 95 | $registry = $this->getTypeRegistry(); |
| 96 | 96 | $this->attributes['type'] = $registry->findTypeFor($value)->getClass(); |
| 97 | - } |
|
| 98 | - |
|
| 99 | - elseif (isset($type)) { |
|
| 97 | + } elseif (isset($type)) { |
|
| 100 | 98 | $this->attributes['type'] = $type; |
| 101 | 99 | } |
| 102 | 100 | |