Passed
Pull Request — master (#120)
by
unknown
03:09
created
src/Repositories/LocalSettingsRepository.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare (strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 /**
6 6
  * This file is part of Scout Extended.
@@ -70,15 +70,15 @@  discard block
 block discarded – undo
70 70
 
71 71
         $name = is_array($name) ? current($name) : $name;
72 72
 
73
-        $fileName = 'scout-' . Str::lower($name) . '.php';
73
+        $fileName = 'scout-'.Str::lower($name).'.php';
74 74
         $settingsPath = config('scout.algolia.settings_path');
75 75
 
76 76
         if ($settingsPath) {
77
-            if (!$this->files->exists($settingsPath)) {
77
+            if ( ! $this->files->exists($settingsPath)) {
78 78
                 $this->files->makeDirectory($settingsPath, 0755, true);
79 79
             }
80 80
 
81
-            return $settingsPath . DIRECTORY_SEPARATOR . $fileName;
81
+            return $settingsPath.DIRECTORY_SEPARATOR.$fileName;
82 82
         }
83 83
 
84 84
         return config_path($fileName);
Please login to merge, or discard this patch.