Skip to content

minor: remove deprec#110

Merged
nikophil merged 1 commit into
zenstruck:1.xfrom
nikophil:remove-deprec
Jul 9, 2026
Merged

minor: remove deprec#110
nikophil merged 1 commit into
zenstruck:1.xfrom
nikophil:remove-deprec

Conversation

@nikophil

@nikophil nikophil commented Jul 9, 2026

Copy link
Copy Markdown
Member

fixes #105

public function get(int $fetchSize = 1): iterable
{
if ($fetchSize !== 1) {
throw new \InvalidArgumentException(\sprintf('"%s()" only supports fetchSize of 1, "%s" given.', __METHOD__, $fetchSize));

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we actually don't care about this param, it will always be 1

@nikophil
nikophil merged commit e3a1d7c into zenstruck:1.x Jul 9, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Symfony 8.1 deprecation

1 participant