@@ -56,7 +56,7 @@ discard block |
||
| 56 | 56 | |
| 57 | 57 | public function addExtension(string $extensionClassName): void |
| 58 | 58 | { |
| 59 | - if (! in_array($extensionClassName, $this->extensions)) { |
|
| 59 | + if (!in_array($extensionClassName, $this->extensions)) { |
|
| 60 | 60 | $this->extensions[] = $extensionClassName; |
| 61 | 61 | } |
| 62 | 62 | } |
@@ -130,14 +130,14 @@ discard block |
||
| 130 | 130 | |
| 131 | 131 | protected function registerPreProcessor(string $class, bool $when = true): void |
| 132 | 132 | { |
| 133 | - if (! in_array($class, $this->preprocessors) && $when) { |
|
| 133 | + if (!in_array($class, $this->preprocessors) && $when) { |
|
| 134 | 134 | $this->preprocessors[] = $class; |
| 135 | 135 | } |
| 136 | 136 | } |
| 137 | 137 | |
| 138 | 138 | protected function registerPostProcessor(string $class, bool $when = true): void |
| 139 | 139 | { |
| 140 | - if (! in_array($class, $this->postprocessors) && $when) { |
|
| 140 | + if (!in_array($class, $this->postprocessors) && $when) { |
|
| 141 | 141 | $this->postprocessors[] = $class; |
| 142 | 142 | } |
| 143 | 143 | } |
@@ -181,7 +181,7 @@ discard block |
||
| 181 | 181 | |
| 182 | 182 | public function addFeature(string $feature): static |
| 183 | 183 | { |
| 184 | - if (! in_array($feature, $this->features)) { |
|
| 184 | + if (!in_array($feature, $this->features)) { |
|
| 185 | 185 | $this->features[] = $feature; |
| 186 | 186 | } |
| 187 | 187 | |
@@ -233,7 +233,7 @@ discard block |
||
| 233 | 233 | |
| 234 | 234 | protected function determineIfTorchlightAttributionShouldBeInjected(): bool |
| 235 | 235 | { |
| 236 | - return ! $this->isDocumentationPage() |
|
| 236 | + return !$this->isDocumentationPage() |
|
| 237 | 237 | && config('torchlight.attribution.enabled', true) |
| 238 | 238 | && str_contains($this->html, 'Syntax highlighted by torchlight.dev'); |
| 239 | 239 | } |