Passed
Push — master ( 2f7326...cb0826 )
by f
11:35
created
src/Drivers/Rar.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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);
Please login to merge, or discard this patch.