From 0059f96bed92c502267187806bc769abbd6eec8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Lys=C3=BD?= Date: Fri, 7 Jan 2022 11:26:46 +0100 Subject: [PATCH] Fix @template annotation for Stub::makeEmptyExcept --- src/Stub.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Stub.php b/src/Stub.php index 65e3389..3c4a385 100644 --- a/src/Stub.php +++ b/src/Stub.php @@ -158,7 +158,7 @@ public static function factory($class, int $num = 1, array $params = []): array * 'save' => \Codeception\Stub\Expected::once() * ], $this); * ``` - * @template + * @template RealInstanceType of object * @param class-string|RealInstanceType|callable(): class-string $class - A class to be mocked * @param string $method * @param array $params