diff --git a/src/bootstrap.php b/src/bootstrap.php index 941fbf867..787af1ef4 100644 --- a/src/bootstrap.php +++ b/src/bootstrap.php @@ -12,9 +12,7 @@ function includeIfExists($file) { - if (file_exists($file)) { - return include $file; - } + return file_exists($file)===true ? include $file : false; } if ((!$loader = includeIfExists(__DIR__.'/../vendor/autoload.php')) && (!$loader = includeIfExists(__DIR__.'/../../../autoload.php'))) {