Skip to content

Commit

Permalink
feature: re-introduce narrowed return types for `AbstractSingleInstan…
Browse files Browse the repository at this point in the history
…cePluginManager`

Signed-off-by: Maximilian Bösing <[email protected]>
  • Loading branch information
boesing committed Aug 29, 2023
1 parent 5523a7b commit 2536d01
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/AbstractSingleInstancePluginManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,22 @@ abstract class AbstractSingleInstancePluginManager extends AbstractPluginManager
*/
protected string $instanceOf;

/**
* {@inheritDoc}
*/
public function get(string $id): object
{
return parent::get($id);
}

/**
* {@inheritDoc}
*/
public function build(string $name, ?array $options = null): object
{
return parent::build($name, $options);
}

/**
* {@inheritDoc}
*/
Expand Down

0 comments on commit 2536d01

Please sign in to comment.