1
0
mirror of https://github.com/mrclay/minify.git synced 2025-08-19 04:11:20 +02:00

phpcs: enable psr2

This commit is contained in:
Elan Ruusamäe
2016-10-16 16:46:43 +03:00
parent 0cc631c5a9
commit 5fb7ea1ed1
44 changed files with 175 additions and 109 deletions

View File

@@ -34,7 +34,8 @@
* @package Minify
* @author Stephen Clay <steve@mrclay.org>
*/
class Minify_Build {
class Minify_Build
{
/**
* Last modification time of all files in the build
@@ -67,7 +68,8 @@ class Minify_Build {
* append the timestamp to the URI.
* @return string
*/
public function uri($uri, $forceAmpersand = false) {
public function uri($uri, $forceAmpersand = false)
{
$sep = ($forceAmpersand || strpos($uri, '?') !== false)
? self::$ampersand
: '?';
@@ -75,7 +77,7 @@ class Minify_Build {
return "{$uri}{$sep}{$this->lastModified}";
}
/**
/**
* Create a build object
*
* @param array $sources array of Minify_Source objects and/or file paths