Skip to content

Commit a284467

Browse files
committed
Fix Doctrine deprecation: Not enabling raw field value access for the Criteria matching API is deprecated.
1 parent dfff415 commit a284467

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Doctrine/Entity/Metadata.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,7 @@ private static function getOrderedCollection(Collection&Selectable $collection,
682682
return $collection;
683683
}
684684

685-
static $criteria = Criteria::create()
685+
static $criteria = Criteria::create(true)
686686
->orderBy(['index' => Order::Ascending]);
687687

688688
/** @var Collection $collection */

0 commit comments

Comments
 (0)