@@ -39,11 +39,11 @@ discard block |
||
| 39 | 39 | |
| 40 | 40 | protected function makeCanonicalUrl(): ?string |
| 41 | 41 | { |
| 42 | - if (! empty($this->matter('canonicalUrl'))) { |
|
| 42 | + if (!empty($this->matter('canonicalUrl'))) { |
|
| 43 | 43 | return $this->matter('canonicalUrl'); |
| 44 | 44 | } |
| 45 | 45 | |
| 46 | - if (Hyde::hasSiteUrl() && ! empty($this->identifier)) { |
|
| 46 | + if (Hyde::hasSiteUrl() && !empty($this->identifier)) { |
|
| 47 | 47 | return $this->getRoute()->getQualifiedUrl(); |
| 48 | 48 | } |
| 49 | 49 | |
@@ -110,7 +110,7 @@ discard block |
||
| 110 | 110 | { |
| 111 | 111 | $orderIndexArray = config('docs.sidebar_order', []); |
| 112 | 112 | |
| 113 | - if (! in_array($this->identifier, $orderIndexArray)) { |
|
| 113 | + if (!in_array($this->identifier, $orderIndexArray)) { |
|
| 114 | 114 | return 500; |
| 115 | 115 | } |
| 116 | 116 | |