Passed
Push — master ( 301e3e...f73be1 )
by Caen
03:14 queued 11s
created
packages/framework/src/Services/MarkdownService.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.