Skip to content

Commit

Permalink
Fix wrong phpdoc
Browse files Browse the repository at this point in the history
From what I can see in the InvocationMocker, the implementation makes a
call that uses an object of type AnyParameters, but returns the current
instance, not that object.
  • Loading branch information
greg0ire authored and sebastianbergmann committed Apr 22, 2020
1 parent cb13599 commit b84b397
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Framework/MockObject/Builder/ParametersMatch.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
*/
namespace PHPUnit\Framework\MockObject\Builder;

use PHPUnit\Framework\MockObject\Rule\AnyParameters;

/**
* @internal This class is not covered by the backward compatibility promise for PHPUnit
*/
Expand Down Expand Up @@ -44,7 +42,7 @@ public function with(...$arguments);
* $b->withAnyParameters();
* </code>
*
* @return AnyParameters
* @return ParametersMatch
*/
public function withAnyParameters();
}

0 comments on commit b84b397

Please sign in to comment.