Skip to content

Commit

Permalink
phpDoc stub for createStub()
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Nov 13, 2019
1 parent 846a5fa commit 8f609f6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions stubs/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@
class TestCase
{

/**
* @template T
* @param class-string<T> $originalClassName
* @return MockObject&T
*/
public function createStub($originalClassName) {}

/**
* @template T
* @param class-string<T> $originalClassName
Expand Down

0 comments on commit 8f609f6

Please sign in to comment.