Skip to content

Commit

Permalink
Fix PHPStan warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol committed Jul 16, 2020
1 parent 97996be commit 04a3450
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Exporter/Image.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public function export(NodeInterface $node): string

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

return shell_exec($this->getConvertCommand($tmp));
return (string) shell_exec($this->getConvertCommand($tmp));
}

/**
Expand Down

0 comments on commit 04a3450

Please sign in to comment.