@@ -20,13 +20,13 @@ |
||
20 | 20 | |
21 | 21 | $gz = gzopen($fileCompress, 'wb'); |
22 | 22 | |
23 | - if (! $gz) { |
|
23 | + if (!$gz) { |
|
24 | 24 | fclose($fd); |
25 | 25 | |
26 | 26 | throw new Exception("file {$fileCompress} not can open.", 101); |
27 | 27 | } |
28 | 28 | |
29 | - while (! feof($fd)) { |
|
29 | + while (!feof($fd)) { |
|
30 | 30 | gzwrite($gz, fread($fd, 1024 * 512)); |
31 | 31 | } |
32 | 32 |
@@ -11,7 +11,7 @@ |
||
11 | 11 | /** |
12 | 12 | * Call function if roteted catch any Exception. |
13 | 13 | */ |
14 | - public function catch(callable $callable): self |
|
14 | + public function catch (callable $callable): self |
|
15 | 15 | { |
16 | 16 | $this->catchCallable = $callable; |
17 | 17 |