@@ -212,7 +212,7 @@ discard block |
||
| 212 | 212 | return $this->view; |
| 213 | 213 | } |
| 214 | 214 | |
| 215 | - return 'flare::'.$this->view; |
|
| 215 | + return 'flare::' . $this->view; |
|
| 216 | 216 | } |
| 217 | 217 | |
| 218 | 218 | /** |
@@ -293,7 +293,7 @@ discard block |
||
| 293 | 293 | public function getTitle() |
| 294 | 294 | { |
| 295 | 295 | if (!isset($this->title) || !$this->title) { |
| 296 | - return Str::title(str_replace('_', ' ', snake_case(preg_replace('/'.static::CLASS_SUFFIX.'$/', '', static::shortName())))); |
|
| 296 | + return Str::title(str_replace('_', ' ', snake_case(preg_replace('/' . static::CLASS_SUFFIX . '$/', '', static::shortName())))); |
|
| 297 | 297 | } |
| 298 | 298 | |
| 299 | 299 | return $this->title; |
@@ -368,7 +368,7 @@ discard block |
||
| 368 | 368 | */ |
| 369 | 369 | public function relativeUrl($path = '') |
| 370 | 370 | { |
| 371 | - return \Flare::relativeAdminUrl($this->urlPrefix().($path ? '/'.$path : '')); |
|
| 371 | + return \Flare::relativeAdminUrl($this->urlPrefix() . ($path ? '/' . $path : '')); |
|
| 372 | 372 | } |
| 373 | 373 | |
| 374 | 374 | /** |
@@ -392,7 +392,7 @@ discard block |
||
| 392 | 392 | */ |
| 393 | 393 | public function relativeCurrentUrl($path) |
| 394 | 394 | { |
| 395 | - return \Route::current() ? \Route::current()->getPrefix().'/'.$path : null; |
|
| 395 | + return \Route::current() ? \Route::current()->getPrefix() . '/' . $path : null; |
|
| 396 | 396 | } |
| 397 | 397 | |
| 398 | 398 | /* |