Skip to content

Commit

Permalink
Correct @method return typehint for LazyAssertion chaining
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Quadling authored and Richard Quadling committed Oct 9, 2019
1 parent 8a4c4e9 commit 38f5ca8
Show file tree
Hide file tree
Showing 2 changed files with 104 additions and 98 deletions.
4 changes: 2 additions & 2 deletions bin/MethodDocGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -197,8 +197,8 @@ public function generateLazyAssertionDocs()
};

$docs = array_merge(
$this->generateMethodDocs($this->gatherAssertions(), ' * @method $this %s(%s) %s.', $skipParameterTest),
$this->generateMethodDocs($this->gatherAssertionChainSwitches(), ' * @method $this %s(%s) %s.', false)
$this->generateMethodDocs($this->gatherAssertions(), ' * @method static static %s(%s) %s.', $skipParameterTest),
$this->generateMethodDocs($this->gatherAssertionChainSwitches(), ' * @method static static %s(%s) %s.', false)
);

$this->generateFile($phpFile, $docs, 'class');
Expand Down
Loading

0 comments on commit 38f5ca8

Please sign in to comment.