Skip to content

Commit cea8777

Browse files
committed
fix deprication
1 parent 3aba6dd commit cea8777

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
"license": "MIT",
1212
"require": {
1313
"php": ">=8.3",
14-
"symfony/dependency-injection": "^6.4 || ^7.0",
15-
"symfony/http-client": "^6.4 || ^7.0"
14+
"symfony/dependency-injection": "^6.4 || ^7.0 || ^8.0",
15+
"symfony/http-client": "^6.4 || ^7.0 || ^8.0"
1616
},
1717
"suggest": {
1818
"hengebytes/response-filter-bundle": "For modify/filter responses",

src/Collection/BaseCollection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public function getSortedByCustomFunc(callable $sortFunc, ?int $limit = null, ?i
5353
*/
5454
public function getSorted(array $orderings, ?int $limit = null, ?int $offset = null)
5555
{
56-
$criteria = Criteria::create();
56+
$criteria = Criteria::create(true);
5757
if ($orderings) {
5858
$criteria->orderBy($orderings);
5959
}

0 commit comments

Comments
 (0)