mirror of
https://github.com/mrclay/minify.git
synced 2025-08-30 17:19:54 +02:00
last_modified is always integer, no need to check for null
This commit is contained in:
@@ -141,7 +141,7 @@ class Minify_HTML_Helper {
|
||||
$max = $lastModified;
|
||||
/** @var Minify_Source $source */
|
||||
foreach ((array)$sources as $source) {
|
||||
if ($source instanceof Minify_Source && $source->getLastModified() !== null) {
|
||||
if ($source instanceof Minify_Source) {
|
||||
$max = max($max, $source->getLastModified());
|
||||
} elseif (is_object($source) && isset($source->lastModified)) {
|
||||
$max = max($max, $source->lastModified);
|
||||
|
Reference in New Issue
Block a user