@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | { |
51 | 51 | setlocale(LC_ALL, $locale); |
52 | 52 | clearstatcache(); |
53 | - $this->_functions['loader'] = function ($fileName) { |
|
53 | + $this->_functions['loader'] = function($fileName) { |
|
54 | 54 | $hashName = $this->__hash($fileName); |
55 | 55 | $this->_attributes[$hashName] = I::get($this->_attributes, $hashName, [ |
56 | 56 | 'isCached' => false, |
@@ -81,8 +81,8 @@ discard block |
||
81 | 81 | } |
82 | 82 | } |
83 | 83 | curl_close($curl); |
84 | - } elseif ((bool) ini_get('allow_url_fopen')) { |
|
85 | - $headArray = (array) get_headers($fileName, 1); |
|
84 | + } elseif ((bool)ini_get('allow_url_fopen')) { |
|
85 | + $headArray = (array)get_headers($fileName, 1); |
|
86 | 86 | if (preg_match('/200/', $headArray[0])) { |
87 | 87 | $this->_attributes[$hashName]['isExists'] = true; |
88 | 88 | $this->_attributes[$hashName]['fileSize'] = $headArray['Content-Length']; |
@@ -143,7 +143,7 @@ discard block |
||
143 | 143 | */ |
144 | 144 | private function __file($file) |
145 | 145 | { |
146 | - return (string) I::getAlias($file); |
|
146 | + return (string)I::getAlias($file); |
|
147 | 147 | } |
148 | 148 | |
149 | 149 | /** |
@@ -536,7 +536,7 @@ discard block |
||
536 | 536 | chmod($subFile, $mode); |
537 | 537 | } |
538 | 538 | } |
539 | - return (bool) chmod($file, $mode); |
|
539 | + return (bool)chmod($file, $mode); |
|
540 | 540 | } |
541 | 541 | |
542 | 542 | /** |