Skip to content

Commit 49ab2d9

Browse files
committed
fix deprectaion in Criteria
doctrine/collections#472
1 parent b711bae commit 49ab2d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Entity/Jacq/Herbarinput/Specimens.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ public function getAnnotation(bool $replaceNL2BR = false): ?string
380380

381381
public function getVisibleStableIdentifiers(): Collection
382382
{
383-
$criteria = Criteria::create()
383+
$criteria = Criteria::create(true)
384384
->where(Criteria::expr()->eq('visible', true));
385385

386386
return $this->stableIdentifiers->matching($criteria);

0 commit comments

Comments
 (0)