Completed
Push — feature/0.7.0 ( d06a69...2e2153 )
by Ryuichi
04:48
created
WebStream/IO/FileOutputStream.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,14 +30,14 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.