lint: fix php

pull/395/head
Varun Patil 2023-02-06 07:58:36 -08:00
parent db6b240593
commit 1be68551e5
1 changed files with 2 additions and 1 deletions

View File

@ -335,7 +335,8 @@ class PlacesSetup extends Command
} }
} }
protected function ensureDeleted(string $filename) { protected function ensureDeleted(string $filename)
{
unlink($filename); unlink($filename);
if (file_exists($filename)) { if (file_exists($filename)) {
$this->output->writeln('<error>Failed to delete data file</error>'); $this->output->writeln('<error>Failed to delete data file</error>');