Skip to content

Commit

Permalink
Reverted BC brak: MockObject#method() now correctly detected by Psalm
Browse files Browse the repository at this point in the history
  • Loading branch information
Ocramius authored and sebastianbergmann committed Jun 6, 2019
1 parent f184583 commit 6f46e93
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/Framework/MockObject/MockObject.php
Expand Up @@ -28,8 +28,4 @@ public function __phpunit_hasMatchers(): bool;
public function __phpunit_setReturnValueGeneration(bool $returnValueGeneration): void;

public function expects(Invocation $matcher): BuilderInvocationMocker;

// @TODO get rid of this - required by psalm-only right now - bug in parsing @method?
// @TODO this addition is a BC break and needs to be reverted before merge.
public function method($constraint) : BuilderInvocationMocker;
}

0 comments on commit 6f46e93

Please sign in to comment.