Skip to content

Commit

Permalink
Merge pull request #38 from lysyjan/master
Browse files Browse the repository at this point in the history
Fix @template annotation for Stub::makeEmptyExcept
  • Loading branch information
Naktibalda authored Jan 8, 2022
2 parents 4c9cf3e + 0059f96 commit ce0a9e4
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 ce0a9e4

Please sign in to comment.