@@ -55,9 +55,9 @@ |
||
| 55 | 55 | public static function getClassName($name) |
| 56 | 56 | { |
| 57 | 57 | if (!isset(self::$availableCompressors[$name])) { |
| 58 | - throw new Exception('Invalid compressor: ' .$name); |
|
| 58 | + throw new Exception('Invalid compressor: '.$name); |
|
| 59 | 59 | } |
| 60 | 60 | $class = self::$availableCompressors[$name]; |
| 61 | - return '\\phpbu\\App\\Backup\\Target\\Compression\\' . $class; |
|
| 61 | + return '\\phpbu\\App\\Backup\\Target\\Compression\\'.$class; |
|
| 62 | 62 | } |
| 63 | 63 | } |
@@ -286,7 +286,7 @@ |
||
| 286 | 286 | { |
| 287 | 287 | if (!isset(self::$classMap[$type])) { |
| 288 | 288 | throw new Exception( |
| 289 | - 'invalid type, please use only \'' . implode('\', \'', array_keys(self::$classMap)) . '\'' |
|
| 289 | + 'invalid type, please use only \''.implode('\', \'', array_keys(self::$classMap)).'\'' |
|
| 290 | 290 | ); |
| 291 | 291 | } |
| 292 | 292 | } |
@@ -77,7 +77,7 @@ |
||
| 77 | 77 | protected function getAdapter($name) |
| 78 | 78 | { |
| 79 | 79 | if (!isset($this->adapters[$name])) { |
| 80 | - throw new Exception('no adapter registered with name: ' . $name); |
|
| 80 | + throw new Exception('no adapter registered with name: '.$name); |
|
| 81 | 81 | } |
| 82 | 82 | return $this->adapters[$name]; |
| 83 | 83 | } |