Skip to content

Commit 2134f1d

Browse files
committed
make sure fallback is array
1 parent 87df396 commit 2134f1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Contracts/Driver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public function getFallback($key, $default = null)
6161
return $default;
6262
}
6363

64-
return Arr::get(config('setting.fallback'), $key);
64+
return Arr::get((array) config('setting.fallback'), $key);
6565
}
6666

6767
/**

0 commit comments

Comments
 (0)