Skip to content

Conversation

MaximePinot
Copy link
Contributor

Add missing private keyword to use constructor property promotion. Otherwise, the call to $this->em in the __invoke method is invalid, as $em is considered a constructor parameter only.

@javiereguiluz
Copy link
Member

Good catch, thanks Maxime.

@javiereguiluz javiereguiluz merged commit 558c80f into symfony:6.4 Apr 29, 2025
3 checks passed
@MaximePinot MaximePinot deleted the patch-1 branch April 29, 2025 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants