Skip to content

Commit

Permalink
#3120 we will keep InvocationStubber#will() - useful for callbacks …
Browse files Browse the repository at this point in the history
…and such
  • Loading branch information
Ocramius authored and sebastianbergmann committed Sep 6, 2019
1 parent e07753d commit 0683511
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/Framework/MockObject/Builder/InvocationStubber.php
Expand Up @@ -14,11 +14,6 @@
/** @internal This class is not covered by the backward compatibility promise for PHPUnit */
interface InvocationStubber
{
/**
* @TODO is "will" actually sensible in a stub context? Should a stub produce side-effects?
*
* Note: probably yes, since you want a stub of a promise to be able to resolve a real callback, for example
*/
public function will(Stub $stub): Identity;

/** @return self */
Expand Down

0 comments on commit 0683511

Please sign in to comment.