@@ -1,6 +1,6 @@ discard block |
||
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 |
||
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); |