diff --git a/.styleci.yml b/.styleci.yml index 5222bdb..c3bb259 100644 --- a/.styleci.yml +++ b/.styleci.yml @@ -1,5 +1 @@ -enabled: - - concat_with_spaces - -disabled: - - concat_without_spaces \ No newline at end of file +preset: laravel \ No newline at end of file diff --git a/src/Contracts/Driver.php b/src/Contracts/Driver.php index 51308d7..2f8c663 100644 --- a/src/Contracts/Driver.php +++ b/src/Contracts/Driver.php @@ -78,7 +78,7 @@ public function set($key, $value = null) $this->load(); $this->unsaved = true; - + if (is_array($key)) { foreach ($key as $k => $v) { Arr::set($this->data, $k, $v); diff --git a/src/Middleware/AutoSaveSetting.php b/src/Middleware/AutoSaveSetting.php index 9435670..9b96207 100644 --- a/src/Middleware/AutoSaveSetting.php +++ b/src/Middleware/AutoSaveSetting.php @@ -30,4 +30,4 @@ public function handle($request, Closure $next) return $response; } -} \ No newline at end of file +}