Skip to content

Commit 04a3450

Browse files
committed
Fix PHPStan warning.
1 parent 97996be commit 04a3450

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Exporter/Image.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public function export(NodeInterface $node): string
4545

4646
file_put_contents($tmp, (new Gv())->export($node));
4747

48-
return shell_exec($this->getConvertCommand($tmp));
48+
return (string) shell_exec($this->getConvertCommand($tmp));
4949
}
5050

5151
/**

0 commit comments

Comments
 (0)