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

php-cs-fixer fix

This commit is contained in:
Elan Ruusamäe
2017-04-18 18:24:17 +03:00
parent b6e4b7f152
commit 80c01c6f02
7 changed files with 11 additions and 4 deletions

View File

@@ -62,7 +62,7 @@ class Minify_Cache_APC implements Minify_CacheInterface
if (function_exists('mb_strlen') && ((int)ini_get('mbstring.func_overload') & 2)) {
return mb_strlen($this->_data, '8bit');
} else {
return strlen($this->_data);;
return strlen($this->_data);
}
}
@@ -124,6 +124,7 @@ class Minify_Cache_APC implements Minify_CacheInterface
$ret = apc_fetch($id);
if (false === $ret) {
$this->_id = null;
return false;
}

View File

@@ -109,6 +109,7 @@ class Minify_Cache_File implements Minify_CacheInterface
{
if (!$this->locking) {
readfile($this->path . '/' . $id);
return;
}