Lower-case the null constant

This commit is contained in:
James Brooks
2014-11-24 17:01:18 +00:00
parent b5529bcb2b
commit 2a3cf0a52b

View File

@@ -7,7 +7,7 @@
routesInDirectory();
function routesInDirectory($app = '') {
$routeDir = app_path('routes/' . $app . ($app !== '' ? '/' : NULL));
$routeDir = app_path('routes/' . $app . ($app !== '' ? '/' : null));
$iterator = new RecursiveDirectoryIterator($routeDir);
$iterator->setFlags(RecursiveDirectoryIterator::SKIP_DOTS);