Skip to content

Commit

Permalink
Add missing type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Feb 28, 2023
1 parent 9d92252 commit 8ba721f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Event/Emitter/DispatchingEmitter.php
Original file line number Diff line number Diff line change
Expand Up @@ -1057,6 +1057,9 @@ private function telemetryInfo(): Telemetry\Info
return $info;
}

/**
* @psalm-param class-string $className
*/
private function hasSubscriberFor(string $className): bool
{
if (!$this->dispatcher instanceof SubscribableDispatcher) {
Expand Down

0 comments on commit 8ba721f

Please sign in to comment.