Skip to content

Commit

Permalink
Merge pull request #52 from func0der/mark-method-not-deprecated
Browse files Browse the repository at this point in the history
Add @not-deprecated annotation to avoid PHPStan errors
  • Loading branch information
stof authored Mar 20, 2023
2 parents eb6e1c4 + f2a8053 commit bd5d45d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ProphecyTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ trait ProphecyTrait
* @throws InterfaceNotFoundException
*
* @psalm-param class-string|null $classOrInterface
* @not-deprecated
*/
protected function prophesize(?string $classOrInterface = null): ObjectProphecy
{
Expand Down

0 comments on commit bd5d45d

Please sign in to comment.