Skip to content

Commit a029907

Browse files
authored
fix: remove api_lite_rekapager check in RekapagerPageablePaginatorApplier (#28)
1 parent f19a8bb commit a029907

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
* build: exclude buggy `symfony/property-info`,
66
https://github.com/symfony/symfony/issues/57634
7+
* fix: remove `api_lite_rekapager` check in `RekapagerPageablePaginatorApplier`
78

89
## 0.7.2
910

src/PaginatorApplier/Implementation/RekapagerPageablePaginatorApplier.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,6 @@ public function applyPaginator(
3535
Operation $operation,
3636
array $context,
3737
): iterable {
38-
/** @psalm-suppress InternalMethod */
39-
$extraProperties = $operation->getExtraProperties() ?? [];
40-
41-
/** @var bool */
42-
$isEnabled = $extraProperties['api_lite_rekapager'] ?? false;
43-
44-
if (!$isEnabled) {
45-
throw new UnsupportedObjectException($this, $object);
46-
}
47-
4838
/** @psalm-suppress DocblockTypeContradiction */
4939
if (!$object instanceof PageableInterface) {
5040
/** @psalm-suppress NoValue */

0 commit comments

Comments
 (0)