Skip to content

Commit

Permalink
Merge pull request #538 from TheRatG/master
Browse files Browse the repository at this point in the history
Update Updater.php
  • Loading branch information
goetas authored Apr 4, 2020
2 parents 50ee63b + c634580 commit 2faa825
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Translation/Updater.php
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ public function process(Config $config)

$this->logger->info(sprintf('Deleting translation file "%s".', $file));

if (false === @unlink($file)) {
if (false === @unlink((string) $file)) {
throw new RuntimeException(sprintf('Could not delete the translation file "%s".', $file));
}
}
Expand Down

0 comments on commit 2faa825

Please sign in to comment.