Skip to content

Commit

Permalink
Merge pull request #11298 from vimeo/fix_PluginRegistrationSocket
Browse files Browse the repository at this point in the history
Change PluginEntryPointInterface to take a PluginRegistrationSocket
  • Loading branch information
danog authored Feb 17, 2025
2 parents 782756e + 951c9e0 commit 5eb8b9d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Psalm/Plugin/PluginEntryPointInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@

namespace Psalm\Plugin;

use Psalm\PluginRegistrationSocket;
use SimpleXMLElement;

interface PluginEntryPointInterface extends PluginInterface
{
public function __invoke(RegistrationInterface $registration, ?SimpleXMLElement $config = null): void;
public function __invoke(PluginRegistrationSocket $registration, ?SimpleXMLElement $config = null): void;
}

0 comments on commit 5eb8b9d

Please sign in to comment.