We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9ee896c + 5c6b425 commit 44a7259Copy full SHA for 44a7259
1 file changed
src/Saver/FileSaver.php
@@ -14,7 +14,7 @@ public function __construct($file)
14
15
public function isSupported()
16
{
17
- return is_writable(dirname($this->file));
+ return $this->file && is_writable(dirname($this->file));
18
}
19
20
public function save(array $data)
0 commit comments