Skip to content

Commit ff2de93

Browse files
committed
Update Settings.php
1 parent 651b3e7 commit ff2de93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Settings.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ public function get(string|array $key = NULL, string|array $default = NULL)
156156
// single key passed, return that setting only
157157
if (array_key_exists($key, $settings)) {
158158

159-
return (in_array($key, config('settings.castJson', []))) ? json_decode($settings[$key]) : $settings[$key];
159+
return (in_array($key, config('settings.castJson', []))) ? json_decode($settings[$key], true) : $settings[$key];
160160
}
161161

162162
return $default;

0 commit comments

Comments
 (0)