1
0
mirror of https://github.com/mrclay/minify.git synced 2025-08-06 14:16:28 +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

@@ -497,6 +497,7 @@ class Minify {
$content = substr($content, 3);
}
$content = str_replace("\r\n", "\n", $content);
return trim($content);
}
@@ -721,6 +722,7 @@ class Minify {
$this->logger && $this->logger->warning('ContentType mismatch');
$this->sources = array();
return $options;
}
@@ -734,6 +736,7 @@ class Minify {
$this->logger && $this->logger->warning('ContentType mismatch');
$this->sources = array();
return $options;
}
}