This commit is contained in:
codemasher
2021-12-09 01:32:44 +01:00
parent 5347080444
commit 278554af0d
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -106,7 +106,7 @@ abstract class QROutputAbstract implements QROutputInterface{
protected function saveToFile(string $data, string $file):bool{
if(!is_writable(dirname($file))){
throw new QRCodeOutputException(sprintf('Could not write data to cache file: %s', $file));
throw new QRCodeOutputException(sprintf('Cannot write data to cache file: %s', $file));
}
return (bool)file_put_contents($file, $data);