Don't use is_null

This commit is contained in:
James Brooks
2015-01-14 15:59:33 +00:00
parent deca875853
commit 7318efb59e
+1 -1
View File
@@ -40,7 +40,7 @@ if (!function_exists('config')) {
*/ */
function config($key = null, $default = null) function config($key = null, $default = null)
{ {
if (is_null($key)) { if ($key === null) {
return Config::getItems(); return Config::getItems();
} }