1
0
mirror of https://github.com/mrclay/minify.git synced 2025-08-17 19:37:22 +02:00

do some trivial codestyle fixes

unix newlines, trailing spaces
This commit is contained in:
Elan Ruusamäe
2016-01-22 00:30:38 +02:00
parent 90bf31f53b
commit 379feaba99
40 changed files with 1424 additions and 1327 deletions

View File

@@ -48,6 +48,7 @@ class Minify_HTML_Helper {
$h->setGroup($keyOrFiles, $opts['farExpires']);
}
$uri = $h->getRawUri($opts['farExpires'], $opts['debug']);
return htmlspecialchars($uri, ENT_QUOTES, $opts['charset']);
}
@@ -75,6 +76,7 @@ class Minify_HTML_Helper {
} elseif ($farExpires && $this->_lastModified) {
$path .= "&" . $this->_lastModified;
}
return $path;
}
@@ -156,6 +158,7 @@ class Minify_HTML_Helper {
}
}
}
return $max;
}
@@ -163,7 +166,6 @@ class Minify_HTML_Helper {
protected $_filePaths = array();
protected $_lastModified = null;
/**
* In a given array of strings, find the character they all have at
* a particular index
@@ -186,6 +188,7 @@ class Minify_HTML_Helper {
return '';
}
}
return $c;
}
@@ -225,6 +228,7 @@ class Minify_HTML_Helper {
? $uri
: $bUri;
}
return $uri;
}
}