@@ -21,7 +21,7 @@ discard block |
||
21 | 21 | */ |
22 | 22 | public static function getDescription() |
23 | 23 | { |
24 | - return 'adapter for ext-rar' . (self::isInstalled() ? ' (' . phpversion('rar') . ')' : null); |
|
24 | + return 'adapter for ext-rar'.(self::isInstalled() ? ' ('.phpversion('rar').')' : null); |
|
25 | 25 | } |
26 | 26 | |
27 | 27 | /** |
@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | */ |
30 | 30 | public static function getInstallationInstruction() |
31 | 31 | { |
32 | - return 'install [rar] extension.' . "\n" . 'Can be installed with pecl: `pecl install rar`'; |
|
32 | + return 'install [rar] extension.'."\n".'Can be installed with pecl: `pecl install rar`'; |
|
33 | 33 | } |
34 | 34 | |
35 | 35 | /** |
@@ -80,7 +80,7 @@ discard block |
||
80 | 80 | */ |
81 | 81 | protected function open($archiveFileName, $password) |
82 | 82 | { |
83 | - $this->rar = \RarArchive::open($archiveFileName, $password, function ($vol) { |
|
83 | + $this->rar = \RarArchive::open($archiveFileName, $password, function($vol) { |
|
84 | 84 | throw new Exception('Could not open volumed Rar archive'); |
85 | 85 | }); |
86 | 86 | $this->rar->setAllowBroken(true); |