Skip to content

Commit a56a539

Browse files
authored
[i18n] Inlined PHPStan TIOHandlersMap to fix translation extraction (#647)
For more details see #647 Key changes: * [i18n] Inlined PHPStan `TIOHandlersMap` to fix translation extraction
1 parent f1a4c26 commit a56a539

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/bundle/IO/ApiLoader/HandlerRegistry.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,18 @@
1414
* Registry of IO handlers, given an alias.
1515
*
1616
* @template THandlerType of object
17-
*
18-
* @phpstan-type TIOHandlersMap array<string, THandlerType>
1917
*/
2018
class HandlerRegistry
2119
{
2220
/**
2321
* Map of a handler id to a handler service instance.
2422
*
25-
* @phpstan-var TIOHandlersMap
23+
* @phpstan-var array<string, THandlerType>
2624
*/
2725
private array $handlersMap = [];
2826

2927
/**
30-
* @phpstan-param TIOHandlersMap $handlersMap
28+
* @phpstan-param array<string, THandlerType> $handlersMap
3129
*/
3230
public function setHandlersMap(array $handlersMap): void
3331
{

0 commit comments

Comments
 (0)