Skip to content

Commit

Permalink
make sure fallback is array
Browse files Browse the repository at this point in the history
  • Loading branch information
denisdulici committed Aug 7, 2020
1 parent 87df396 commit 2134f1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Contracts/Driver.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public function getFallback($key, $default = null)
return $default;
}

return Arr::get(config('setting.fallback'), $key);
return Arr::get((array) config('setting.fallback'), $key);
}

/**
Expand Down

0 comments on commit 2134f1d

Please sign in to comment.