@@ -30,14 +30,14 @@ |
||
30 | 30 | } elseif (is_string($file)) { |
31 | 31 | $this->file = new File($file); |
32 | 32 | } else { |
33 | - throw new InvalidArgumentException("Invalid argument type: " . $file); |
|
33 | + throw new InvalidArgumentException("Invalid argument type: ".$file); |
|
34 | 34 | } |
35 | 35 | |
36 | 36 | $mode = $isAppend ? 'ab' : 'wb'; |
37 | 37 | $stream = @fopen($this->file->getAbsoluteFilePath(), $mode); |
38 | 38 | |
39 | 39 | if (!is_resource($stream) || $stream === false) { |
40 | - throw new IOException("Unable open " . $this->file->getAbsoluteFilePath()); |
|
40 | + throw new IOException("Unable open ".$this->file->getAbsoluteFilePath()); |
|
41 | 41 | } |
42 | 42 | |
43 | 43 | parent::__construct($stream); |