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