From b1a141ff9b4ad221a5b1516794b14e5dcca2171e Mon Sep 17 00:00:00 2001 From: Varun Patil Date: Mon, 29 May 2023 23:23:40 -0700 Subject: [PATCH] lint: fix php Signed-off-by: Varun Patil --- lib/ClustersBackend/PlacesBackend.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ClustersBackend/PlacesBackend.php b/lib/ClustersBackend/PlacesBackend.php index c3bd2788..b204828c 100644 --- a/lib/ClustersBackend/PlacesBackend.php +++ b/lib/ClustersBackend/PlacesBackend.php @@ -102,7 +102,7 @@ class PlacesBackend extends Backend } // Else if we are looking for countries - elseif ($inside === -1) { + elseif (-1 === $inside) { $query->where($query->expr()->eq('e.admin_level', $query->expr()->literal(2, \PDO::PARAM_INT))); }