Skip to content

Commit

Permalink
bugfix: add missing template-extends to SimplePluginManager
Browse files Browse the repository at this point in the history
Signed-off-by: Maximilian Bösing <[email protected]>
  • Loading branch information
boesing committed Aug 29, 2023
1 parent 3210329 commit 9b70ae4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/TestAsset/SimplePluginManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@

use Laminas\ServiceManager\AbstractSingleInstancePluginManager;

/**
* @template-extends AbstractSingleInstancePluginManager<InvokableObject>
*/
final class SimplePluginManager extends AbstractSingleInstancePluginManager
{
/** @var class-string<InvokableObject> */
protected string $instanceOf = InvokableObject::class;
}

0 comments on commit 9b70ae4

Please sign in to comment.