From 41646401829352920c6e77df42c69112db4aee3f Mon Sep 17 00:00:00 2001 From: Robin Krahnen Date: Thu, 16 Sep 2021 16:34:00 +0200 Subject: [PATCH] replace empty function --- Classes/Command/SequenceCommandController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/Command/SequenceCommandController.php b/Classes/Command/SequenceCommandController.php index dddc981..ce884f8 100644 --- a/Classes/Command/SequenceCommandController.php +++ b/Classes/Command/SequenceCommandController.php @@ -46,7 +46,7 @@ class SequenceCommandController extends CommandController public function cleanSequenceInsertsCommand(array $typesToClean = []) { $cleanArray = []; - if (empty($typesToClean)) { + if ($typesToClean === []) { $results = $this->entityManager ->createQuery('SELECT i.type, MAX(i.number) max_number FROM ' . Insert::class . ' i GROUP BY i.type') ->getScalarResult();