@@ -42,7 +42,7 @@ |
||
| 42 | 42 | foreach (array_reverse($meta) as $metaItem) { |
| 43 | 43 | $substring = substr($metaItem, 6, strpos($metaItem, ' content="') - 6); |
| 44 | 44 | |
| 45 | - if (! in_array($substring, $existing)) { |
|
| 45 | + if (!in_array($substring, $existing)) { |
|
| 46 | 46 | $array[] = $metaItem; |
| 47 | 47 | $existing[] = $substring; |
| 48 | 48 | } |
@@ -128,7 +128,7 @@ discard block |
||
| 128 | 128 | return property_exists($this, $key) || $this->matter->has($key); |
| 129 | 129 | } |
| 130 | 130 | |
| 131 | - return ! blank($this->get($key)); |
|
| 131 | + return !blank($this->get($key)); |
|
| 132 | 132 | } |
| 133 | 133 | |
| 134 | 134 | /** @inheritDoc */ |
@@ -183,7 +183,7 @@ discard block |
||
| 183 | 183 | |
| 184 | 184 | public function showInNavigation(): bool |
| 185 | 185 | { |
| 186 | - return ! $this->navigation['hidden']; |
|
| 186 | + return !$this->navigation['hidden']; |
|
| 187 | 187 | } |
| 188 | 188 | |
| 189 | 189 | public function navigationMenuPriority(): int |
@@ -12,11 +12,11 @@ |
||
| 12 | 12 | |
| 13 | 13 | public function __toString(): string |
| 14 | 14 | { |
| 15 | - if (! $this->attr) { |
|
| 15 | + if (!$this->attr) { |
|
| 16 | 16 | return '<link rel="'.e($this->rel).'" href="'.e($this->href).'">'; |
| 17 | 17 | } |
| 18 | 18 | |
| 19 | - $attributes = collect($this->attr)->map(function ($value, $key) { |
|
| 19 | + $attributes = collect($this->attr)->map(function($value, $key) { |
|
| 20 | 20 | return e($key).'="'.e($value).'"'; |
| 21 | 21 | })->implode(' '); |
| 22 | 22 | |