@@ -32,7 +32,7 @@ |
||
32 | 32 | { |
33 | 33 | $input = $args->input->toArray(); |
34 | 34 | |
35 | - return DB::transaction(function () use ($input) { |
|
35 | + return DB::transaction(function() use ($input) { |
|
36 | 36 | return $this->getModelSchema()->createIfAuthorized($input); |
37 | 37 | }); |
38 | 38 | } |
@@ -41,7 +41,7 @@ |
||
41 | 41 | */ |
42 | 42 | public function args(): array |
43 | 43 | { |
44 | - return $this->modelSchema->getLookupFields()->map(function (Field $field) { |
|
44 | + return $this->modelSchema->getLookupFields()->map(function(Field $field) { |
|
45 | 45 | return $field->getType(); |
46 | 46 | })->toArray(); |
47 | 47 | } |
@@ -63,7 +63,7 @@ |
||
63 | 63 | { |
64 | 64 | $result = $this->find($args); |
65 | 65 | |
66 | - if (! $result) { |
|
66 | + if (!$result) { |
|
67 | 67 | throw (new ModelNotFoundException)->setModel(class_basename($this->model)); |
68 | 68 | } |
69 | 69 |
@@ -29,7 +29,7 @@ |
||
29 | 29 | { |
30 | 30 | $fields = collect($this->fields); |
31 | 31 | |
32 | - return $fields->map(function (RootField $field) { |
|
32 | + return $fields->map(function(RootField $field) { |
|
33 | 33 | return $field->toArray(); |
34 | 34 | }); |
35 | 35 | } |