@@ -64,13 +64,13 @@ discard block |
||
| 64 | 64 | ); |
| 65 | 65 | |
| 66 | 66 | if ($this->translator()->has($key = $this->translationKey())) { |
| 67 | - $this->setTitle((string)$this->translator()->trans($key)); |
|
| 67 | + $this->setTitle((string) $this->translator()->trans($key)); |
|
| 68 | 68 | } else { |
| 69 | 69 | $this->setTitle(Architect::humanize($this->id)); |
| 70 | 70 | } |
| 71 | 71 | |
| 72 | 72 | if ($this->translator()->has($key = $this->descriptionKey())) { |
| 73 | - $this->setDescription((string)$this->translator()->trans($key)); |
|
| 73 | + $this->setDescription((string) $this->translator()->trans($key)); |
|
| 74 | 74 | } |
| 75 | 75 | } |
| 76 | 76 | |
@@ -312,7 +312,7 @@ discard block |
||
| 312 | 312 | */ |
| 313 | 313 | public function isVisibleOnPage(string $page): bool |
| 314 | 314 | { |
| 315 | - return (bool)$this->visibility[$page] ?? false; |
|
| 315 | + return (bool) $this->visibility[$page] ?? false; |
|
| 316 | 316 | } |
| 317 | 317 | |
| 318 | 318 | /** |
@@ -322,7 +322,7 @@ discard block |
||
| 322 | 322 | */ |
| 323 | 323 | public function hideOnPages($pages): self |
| 324 | 324 | { |
| 325 | - return $this->setPagesVisibility((array)$pages, false); |
|
| 325 | + return $this->setPagesVisibility((array) $pages, false); |
|
| 326 | 326 | } |
| 327 | 327 | |
| 328 | 328 | /** |
@@ -332,7 +332,7 @@ discard block |
||
| 332 | 332 | */ |
| 333 | 333 | public function showOnPages($pages): self |
| 334 | 334 | { |
| 335 | - return $this->setPagesVisibility((array)$pages, true); |
|
| 335 | + return $this->setPagesVisibility((array) $pages, true); |
|
| 336 | 336 | } |
| 337 | 337 | |
| 338 | 338 | /** |