Skip to content

Commit

Permalink
Fix @template annotation for Stub::makeEmptyExcept
Browse files Browse the repository at this point in the history
  • Loading branch information
lysyjan committed Jan 7, 2022
1 parent 4c9cf3e commit 0059f96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Stub.php
Original file line number Diff line number Diff line change
Expand Up @@ -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>|RealInstanceType|callable(): class-string<RealInstanceType> $class - A class to be mocked
* @param string $method
* @param array $params
Expand Down

0 comments on commit 0059f96

Please sign in to comment.