From 6c5159b3e1a37a8c0efe98d21dca7d9807b3af2e Mon Sep 17 00:00:00 2001 From: Caen De Silva Date: Wed, 17 Jul 2024 18:20:22 +0200 Subject: [PATCH] Add custom Psalm stub to get service container generics --- monorepo/stubs/Application.php | 16 ++++++++++++++++ psalm.xml | 3 +++ 2 files changed, 19 insertions(+) create mode 100644 monorepo/stubs/Application.php diff --git a/monorepo/stubs/Application.php b/monorepo/stubs/Application.php new file mode 100644 index 00000000000..aeb29f35484 --- /dev/null +++ b/monorepo/stubs/Application.php @@ -0,0 +1,16 @@ + $abstract + * @return T + */ + public function make(string $abstract) + { + } +} diff --git a/psalm.xml b/psalm.xml index f2102674f2e..04ee972e91d 100644 --- a/psalm.xml +++ b/psalm.xml @@ -24,4 +24,7 @@ + + +