@@ -78,12 +78,12 @@ discard block |
||
78 | 78 | |
79 | 79 | $builder = $this->indexSorting($builder); |
80 | 80 | |
81 | - if($this->paginated) |
|
81 | + if ($this->paginated) |
|
82 | 82 | { |
83 | 83 | return $this->indexPagination($builder); |
84 | 84 | } |
85 | 85 | |
86 | - return $builder->get()->map(function ($model) { |
|
86 | + return $builder->get()->map(function($model) { |
|
87 | 87 | return (new static($this->registration))->manage($model); |
88 | 88 | }); |
89 | 89 | } |
@@ -111,7 +111,7 @@ discard block |
||
111 | 111 | { |
112 | 112 | $paginator = $builder->paginate($this->pageCount); |
113 | 113 | |
114 | - $modifiedCollection = $builder->paginate($this->pageCount)->getCollection()->transform(function ($model) { |
|
114 | + $modifiedCollection = $builder->paginate($this->pageCount)->getCollection()->transform(function($model) { |
|
115 | 115 | return (new static($this->registration))->manage($model); |
116 | 116 | }); |
117 | 117 | |
@@ -181,7 +181,7 @@ discard block |
||
181 | 181 | |
182 | 182 | public function guard($verb): Manager |
183 | 183 | { |
184 | - if (! $this->can($verb)) { |
|
184 | + if (!$this->can($verb)) { |
|
185 | 185 | NotAllowedManagerRoute::notAllowedVerb($verb, $this); |
186 | 186 | } |
187 | 187 | |
@@ -204,7 +204,7 @@ discard block |
||
204 | 204 | $fields = $this->fields(); |
205 | 205 | |
206 | 206 | foreach ($this->assistants() as $assistant) { |
207 | - if (! method_exists($assistant, 'fields')) { |
|
207 | + if (!method_exists($assistant, 'fields')) { |
|
208 | 208 | continue; |
209 | 209 | } |
210 | 210 |