Skip to content

Conversation

blizzz
Copy link
Member

@blizzz blizzz commented Nov 14, 2023

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Copy link
Member

@AndyScherzinger AndyScherzinger left a comment

Choose a reason for hiding this comment

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

Your da 💣

@blizzz blizzz merged commit 54019e0 into master Nov 14, 2023
@delete-merged-branch delete-merged-branch bot deleted the fix/noid/MissingTemplateParam branch November 14, 2023 20:35
use Psr\Container\ContainerInterface;

/**
* @template-implements IEventListener<Event>
Copy link
Contributor

Choose a reason for hiding this comment

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

Should be @template-implements IEventListener<RegisterOperationsEvent> ideally. (Psalm may complain about the instanceof check below being redundant, but it makes sure that psalm checks this gets registered as a listener only for the right event type)

Copy link
Member Author

Choose a reason for hiding this comment

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

I see. Most usages seem to be not ideal then, not just here. Thanks for pointing it out.

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