Skip to content

Commit

Permalink
fix: remove api_lite_rekapager check in `RekapagerPageablePaginator…
Browse files Browse the repository at this point in the history
…Applier` (#28)
  • Loading branch information
priyadi authored Jul 6, 2024
1 parent f19a8bb commit a029907
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

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

## 0.7.2

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,6 @@ public function applyPaginator(
Operation $operation,
array $context,
): iterable {
/** @psalm-suppress InternalMethod */
$extraProperties = $operation->getExtraProperties() ?? [];

/** @var bool */
$isEnabled = $extraProperties['api_lite_rekapager'] ?? false;

if (!$isEnabled) {
throw new UnsupportedObjectException($this, $object);
}

/** @psalm-suppress DocblockTypeContradiction */
if (!$object instanceof PageableInterface) {
/** @psalm-suppress NoValue */
Expand Down

0 comments on commit a029907

Please sign in to comment.