replace empty function
This commit is contained in:
parent
8da32c3969
commit
4164640182
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue