Skip to content

Commit e9229a3

Browse files
committed
🚿
1 parent 0008606 commit e9229a3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/Output/QREps.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,7 @@ protected function getDefaultModuleValue(bool $isDark):array{
5050
* @inheritDoc
5151
*/
5252
public function dump(string $file = null):string{
53-
$file ??= $this->options->cachefile;
54-
$saveToFile = $file !== null;
53+
$file ??= $this->options->cachefile;
5554

5655
$eps = [
5756
// main header
@@ -91,7 +90,7 @@ public function dump(string $file = null):string{
9190

9291
$data = implode("\n", $eps);
9392

94-
if($saveToFile){
93+
if($file !== null){
9594
$this->saveToFile($data, $file);
9695
}
9796

0 commit comments

Comments
 (0)