@@ -115,9 +115,9 @@ discard block |
||
| 115 | 115 | public function flatReferenceLabel(): string |
| 116 | 116 | { |
| 117 | 117 | if ($this->exists) { |
| 118 | - $status = ! $this->isPublished() ? ' [' . $this->statusAsPlainLabel().']' : null; |
|
| 118 | + $status = !$this->isPublished() ? ' ['.$this->statusAsPlainLabel().']' : null; |
|
| 119 | 119 | |
| 120 | - return $this->title ? $this->title . $status : ''; |
|
| 120 | + return $this->title ? $this->title.$status : ''; |
|
| 121 | 121 | } |
| 122 | 122 | |
| 123 | 123 | return ''; |
@@ -137,7 +137,7 @@ discard block |
||
| 137 | 137 | // What was the creator of the assetlibrary package thinking. It sure wasn't me... I promise... |
| 138 | 138 | $assets = $this->getAllFiles($type, app()->getLocale())->map->getFileUrl(); |
| 139 | 139 | |
| 140 | - if($assets->first() == null) |
|
| 140 | + if ($assets->first() == null) |
|
| 141 | 141 | { |
| 142 | 142 | $assets = $this->getAllFiles($type)->map->getFileUrl(); |
| 143 | 143 | } |
@@ -184,7 +184,7 @@ discard block |
||
| 184 | 184 | return ''; |
| 185 | 185 | } |
| 186 | 186 | |
| 187 | - $parameters = trim($this->baseUrlSegment($locale) . '/' . $slug, '/'); |
|
| 187 | + $parameters = trim($this->baseUrlSegment($locale).'/'.$slug, '/'); |
|
| 188 | 188 | |
| 189 | 189 | $routeName = Homepage::is($this) |
| 190 | 190 | ? config('thinktomorrow.chief.routes.pages-home', 'pages.home') |
@@ -247,7 +247,7 @@ discard block |
||
| 247 | 247 | ]; |
| 248 | 248 | |
| 249 | 249 | foreach ($viewPaths as $viewPath) { |
| 250 | - if (! view()->exists($viewPath)) { |
|
| 250 | + if (!view()->exists($viewPath)) { |
|
| 251 | 251 | continue; |
| 252 | 252 | } |
| 253 | 253 | |