From 3365ab745cd5aa2e81beca56824b1fd7221e8b60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20B=C3=B6sing?= <2189546+boesing@users.noreply.github.com> Date: Wed, 11 Oct 2023 22:39:22 +0200 Subject: [PATCH] qa: try to move psalm type imports to get rid of `TTypeAlias` issue in psalm `TypeParser` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com> --- src/AbstractPluginManager.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/AbstractPluginManager.php b/src/AbstractPluginManager.php index b576c5a7..d4540792 100644 --- a/src/AbstractPluginManager.php +++ b/src/AbstractPluginManager.php @@ -23,8 +23,6 @@ * Abstract PluginManagerInterface implementation providing creation context support. * The constructor accepts the parent container instance, which is then used when creating instances. * - * @template InstanceType - * @template-implements PluginManagerInterface * @psalm-import-type ServiceManagerConfiguration from ServiceManager * @psalm-import-type FactoryCallable from ServiceManager * @psalm-import-type DelegatorCallable from ServiceManager @@ -34,6 +32,8 @@ * @psalm-import-type FactoriesConfiguration from ServiceManager * @psalm-import-type InitializersConfiguration from ServiceManager * @psalm-import-type LazyServicesConfiguration from ServiceManager + * @template InstanceType + * @template-implements PluginManagerInterface */ abstract class AbstractPluginManager implements PluginManagerInterface {