@@ -71,7 +71,7 @@ discard block |
||
| 71 | 71 | |
| 72 | 72 | public function findAll(): Collection |
| 73 | 73 | { |
| 74 | - return $this->model->published()->get()->map(function ($model) { |
|
| 74 | + return $this->model->published()->get()->map(function($model) { |
|
| 75 | 75 | return $this->managers->findByModel($model); |
| 76 | 76 | }); |
| 77 | 77 | } |
@@ -93,7 +93,7 @@ discard block |
||
| 93 | 93 | |
| 94 | 94 | public function guard($verb): Assistant |
| 95 | 95 | { |
| 96 | - if (! $this->can($verb)) { |
|
| 96 | + if (!$this->can($verb)) { |
|
| 97 | 97 | NotAllowedManagerRoute::notAllowedVerb($verb, $this->manager); |
| 98 | 98 | } |
| 99 | 99 | |
@@ -109,7 +109,7 @@ discard block |
||
| 109 | 109 | { |
| 110 | 110 | $label = $this->publicationStatusAsPlainLabel(); |
| 111 | 111 | |
| 112 | - if ($plain || ! $this->hasPreviewUrl()) { |
|
| 112 | + if ($plain || !$this->hasPreviewUrl()) { |
|
| 113 | 113 | return $label; |
| 114 | 114 | } |
| 115 | 115 | |
@@ -144,7 +144,7 @@ discard block |
||
| 144 | 144 | public function previewUrl(): string |
| 145 | 145 | { |
| 146 | 146 | if (!$this->hasPreviewUrl()) { |
| 147 | - throw new \Exception('Managed model ' . get_class($this->model) . ' should implement ' . ProvidesUrl::class); |
|
| 147 | + throw new \Exception('Managed model '.get_class($this->model).' should implement '.ProvidesUrl::class); |
|
| 148 | 148 | } |
| 149 | 149 | |
| 150 | 150 | return $this->model->previewUrl(); |