Skip to content

Commit 0059f96

Browse files
committed
Fix @template annotation for Stub::makeEmptyExcept
1 parent 4c9cf3e commit 0059f96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Stub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ public static function factory($class, int $num = 1, array $params = []): array
158158
* 'save' => \Codeception\Stub\Expected::once()
159159
* ], $this);
160160
* ```
161-
* @template
161+
* @template RealInstanceType of object
162162
* @param class-string<RealInstanceType>|RealInstanceType|callable(): class-string<RealInstanceType> $class - A class to be mocked
163163
* @param string $method
164164
* @param array $params

0 commit comments

Comments
 (0)