@@ -81,7 +81,7 @@ discard block |
||
| 81 | 81 | if (strpos($path, '?') !== false) { |
| 82 | 82 | $parameter = parse_url($path, PHP_URL_QUERY); |
| 83 | 83 | |
| 84 | - $this->_path = str_replace('?' . $parameter, '', $path); |
|
| 84 | + $this->_path = str_replace('?'.$parameter, '', $path); |
|
| 85 | 85 | } else { |
| 86 | 86 | $this->_path = $path; |
| 87 | 87 | } |
@@ -198,7 +198,7 @@ discard block |
||
| 198 | 198 | |
| 199 | 199 | if (!$pointer) { |
| 200 | 200 | throw new Swift_IoException( |
| 201 | - 'Unable to open file for reading [' . $this->_path . ']' |
|
| 201 | + 'Unable to open file for reading ['.$this->_path.']' |
|
| 202 | 202 | ); |
| 203 | 203 | } |
| 204 | 204 | |
@@ -221,7 +221,7 @@ discard block |
||
| 221 | 221 | |
| 222 | 222 | if (!$pointer) { |
| 223 | 223 | throw new Swift_IoException( |
| 224 | - 'Unable to open file for writing [' . $this->_path . ']' |
|
| 224 | + 'Unable to open file for writing ['.$this->_path.']' |
|
| 225 | 225 | ); |
| 226 | 226 | } |
| 227 | 227 | |
@@ -291,7 +291,7 @@ discard block |
||
| 291 | 291 | |
| 292 | 292 | $source = @fopen($this->_path, 'rb'); |
| 293 | 293 | if (!$source) { |
| 294 | - throw new Swift_IoException('Unable to open file for copying [' . $this->_path . ']'); |
|
| 294 | + throw new Swift_IoException('Unable to open file for copying ['.$this->_path.']'); |
|
| 295 | 295 | } |
| 296 | 296 | |
| 297 | 297 | fseek($tmpFile, 0, SEEK_SET); |