Passed
Push — master ( bf7994...5e2021 )
by Nicolaas
02:52
created
src/Files/AllFilesInfo.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -211,7 +211,7 @@  discard block
 block discarded – undo
211 211
      */
212 212
     public function getStagingData(string $pathFromAssets, ?int $id = 0): array
213 213
     {
214
-        if (! $id) {
214
+        if (!$id) {
215 215
             $id = $this->databaseLookupListStaging[$pathFromAssets] ?? 0;
216 216
         }
217 217
 
@@ -225,7 +225,7 @@  discard block
 block discarded – undo
225 225
      */
226 226
     public function getLiveData(string $pathFromAssets, ?int $id = 0): array
227 227
     {
228
-        if (! $id) {
228
+        if (!$id) {
229 229
             $id = $this->databaseLookupListLive[$pathFromAssets] ?? 0;
230 230
         }
231 231
 
@@ -518,7 +518,7 @@  discard block
 block discarded – undo
518 518
     protected function registerFile($path, ?bool $inFileSystem = true)
519 519
     {
520 520
         if ($path) {
521
-            if (! isset($this->listOfFiles[$path])) {
521
+            if (!isset($this->listOfFiles[$path])) {
522 522
                 $this->listOfFiles[$path] = $inFileSystem;
523 523
                 if ($this->verbose) {
524 524
                     echo $inFileSystem ? '✓ ' : 'x ';
@@ -558,7 +558,7 @@  discard block
 block discarded – undo
558 558
 
559 559
         $fileName = basename($absolutePath);
560 560
         $isErrorPage = ('error' === substr((string) $fileName, 0, 5) && '.html' === substr((string) $fileName, -5));
561
-        return ! $isErrorPage;
561
+        return !$isErrorPage;
562 562
     }
563 563
 
564 564
     protected function getArrayOfFilesOnDisk(): array
Please login to merge, or discard this patch.