Don't use is_null
This commit is contained in:
@@ -40,7 +40,7 @@ if (!function_exists('config')) {
|
||||
*/
|
||||
function config($key = null, $default = null)
|
||||
{
|
||||
if (is_null($key)) {
|
||||
if ($key === null) {
|
||||
return Config::getItems();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user