From 1309f6bcbd4aab9ca7bd2a4a1172dd64e7f3cfde Mon Sep 17 00:00:00 2001 From: Varun Patil Date: Fri, 5 May 2023 17:12:04 -0700 Subject: [PATCH] lint: fix php Signed-off-by: Varun Patil --- lib/Service/Places.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Service/Places.php b/lib/Service/Places.php index 164167cf..4e4ffd66 100644 --- a/lib/Service/Places.php +++ b/lib/Service/Places.php @@ -98,12 +98,12 @@ class Places $filename = sys_get_temp_dir().'/planet_coarse_boundaries.zip'; if (file_exists($filename) && !unlink($filename)) { - throw new \Exception("Failed to delete old planet zip file: $filename"); + throw new \Exception("Failed to delete old planet zip file: {$filename}"); } $txtfile = sys_get_temp_dir().'/planet_coarse_boundaries.txt'; if (file_exists($txtfile) && !unlink($txtfile)) { - throw new \Exception("Failed to delete old planet data file: $txtfile"); + throw new \Exception("Failed to delete old planet data file: {$txtfile}"); } $fp = fopen($filename, 'w+');