@@ -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 | } |
@@ -207,7 +207,7 @@ discard block |
||
207 | 207 | $pointer = @fopen($this->_path, 'rb', false, stream_context_create($opts)); |
208 | 208 | |
209 | 209 | if (!$pointer) { |
210 | - throw new Swift_IoException('Unable to open file for reading [' . $this->_path . ']'); |
|
210 | + throw new Swift_IoException('Unable to open file for reading ['.$this->_path.']'); |
|
211 | 211 | } |
212 | 212 | |
213 | 213 | $this->_reader = $pointer; |
@@ -229,7 +229,7 @@ discard block |
||
229 | 229 | $pointer = @fopen($this->_path, $this->_mode); |
230 | 230 | |
231 | 231 | if (!$pointer) { |
232 | - throw new Swift_IoException('Unable to open file for writing [' . $this->_path . ']'); |
|
232 | + throw new Swift_IoException('Unable to open file for writing ['.$this->_path.']'); |
|
233 | 233 | } |
234 | 234 | |
235 | 235 | $this->_writer = $pointer; |
@@ -300,7 +300,7 @@ discard block |
||
300 | 300 | $source = @fopen($this->_path, 'rb'); |
301 | 301 | |
302 | 302 | if (!$source) { |
303 | - throw new Swift_IoException('Unable to open file for copying [' . $this->_path . ']'); |
|
303 | + throw new Swift_IoException('Unable to open file for copying ['.$this->_path.']'); |
|
304 | 304 | } |
305 | 305 | |
306 | 306 | fseek($tmpFile, 0, SEEK_SET); |