@@ -23,7 +23,7 @@ |
||
| 23 | 23 | public function __construct($descriptor = null) |
| 24 | 24 | { |
| 25 | 25 | if (is_null($descriptor)) { |
| 26 | - $this->descriptor = (object) ['fields' => []]; |
|
| 26 | + $this->descriptor = (object)['fields' => []]; |
|
| 27 | 27 | } else { |
| 28 | 28 | if (Utils::isJsonString($descriptor)) { |
| 29 | 29 | // it's a json encoded string |