@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | } |
48 | 48 | |
49 | 49 | return $this->modelSchema->getLookupFields() |
50 | - ->map(function (Field $field) { |
|
50 | + ->map(function(Field $field) { |
|
51 | 51 | return $field->getType(); |
52 | 52 | }) |
53 | 53 | ->merge(['input' => $type]) |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | $input = $args->input->toArray(); |
77 | 77 | $model = $this->findOrFail($args); |
78 | 78 | |
79 | - return DB::transaction(function () use ($input, $model) { |
|
79 | + return DB::transaction(function() use ($input, $model) { |
|
80 | 80 | $modelSchema = $this->registry->getSchemaForModel($model); |
81 | 81 | |
82 | 82 | $relation = $this->getRelation($model); |
@@ -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 |