1
0
mirror of https://github.com/mrclay/minify.git synced 2025-08-18 03:41:35 +02:00

php-cs fixes

1) Minify.php (return)
   2) Minify/Env.php (return)
   3) Minify/JS/JShrink.php (return)
   4) Minify/HTML/Helper.php (return)
   5) Minify/Logger/LegacyHandler.php (unused_use)
   6) Minify/Lines.php (return)
   7) Minify/Controller/Files.php (unused_use)
   8) Minify/ControllerInterface.php (unused_use)
   9) Minify/Cache/File.php (return)
This commit is contained in:
Elan Ruusamäe
2016-10-16 16:44:58 +03:00
parent 2809e3c2eb
commit 0cc631c5a9
9 changed files with 10 additions and 3 deletions

View File

@@ -168,11 +168,13 @@ class Minify_HTML_Helper {
static $cached;
if ($app) {
$cached = $app;
return $app;
}
if ($cached === null) {
$cached = (require __DIR__ . '/../../../bootstrap.php');
}
return $cached;
}