Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions src/bundle/IO/ApiLoader/HandlerRegistry.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,18 @@
* Registry of IO handlers, given an alias.
*
* @template THandlerType of object
*
* @phpstan-type TIOHandlersMap array<string, THandlerType>
*/
class HandlerRegistry
{
/**
* Map of a handler id to a handler service instance.
*
* @phpstan-var TIOHandlersMap
* @phpstan-var array<string, THandlerType>
*/
private array $handlersMap = [];

/**
* @phpstan-param TIOHandlersMap $handlersMap
* @phpstan-param array<string, THandlerType> $handlersMap
*/
public function setHandlersMap(array $handlersMap): void
{
Expand Down
Loading