@@ -112,12 +112,12 @@ |
||
112 | 112 | $builder->where('locale', $locale); |
113 | 113 | } |
114 | 114 | |
115 | - if (! $includeRedirects) { |
|
115 | + if (!$includeRedirects) { |
|
116 | 116 | $builder->whereNull('redirect_id'); |
117 | 117 | } |
118 | 118 | |
119 | 119 | if ($ignoredModel) { |
120 | - $builder->whereNotIn('id', function ($query) use ($ignoredModel) { |
|
120 | + $builder->whereNotIn('id', function($query) use ($ignoredModel) { |
|
121 | 121 | $query->select('id') |
122 | 122 | ->from('chief_urls') |
123 | 123 | ->where('model_type', '=', $ignoredModel->getMorphClass()) |
@@ -77,7 +77,7 @@ discard block |
||
77 | 77 | |
78 | 78 | $builder->orderBy('updated_at', 'DESC'); |
79 | 79 | |
80 | - return $builder->get()->map(function ($model) { |
|
80 | + return $builder->get()->map(function($model) { |
|
81 | 81 | return (new static($this->registration))->manage($model); |
82 | 82 | }); |
83 | 83 | } |
@@ -145,7 +145,7 @@ discard block |
||
145 | 145 | |
146 | 146 | public function guard($verb): Manager |
147 | 147 | { |
148 | - if (! $this->can($verb)) { |
|
148 | + if (!$this->can($verb)) { |
|
149 | 149 | NotAllowedManagerRoute::notAllowedVerb($verb, $this); |
150 | 150 | } |
151 | 151 | |
@@ -168,7 +168,7 @@ discard block |
||
168 | 168 | $fields = $this->fields(); |
169 | 169 | |
170 | 170 | foreach ($this->assistants() as $assistant) { |
171 | - if (! method_exists($assistant, 'fields')) { |
|
171 | + if (!method_exists($assistant, 'fields')) { |
|
172 | 172 | continue; |
173 | 173 | } |
174 | 174 |