Skip to content

Commit f2a8053

Browse files
authored
Add @not-deprecated annotation to avoid PHPStan errors
Context: phpstan/phpstan-deprecation-rules#76 Solution: Add `@not-deprecated` annotation.
1 parent eb6e1c4 commit f2a8053

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ProphecyTrait.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ trait ProphecyTrait
3535
* @throws InterfaceNotFoundException
3636
*
3737
* @psalm-param class-string|null $classOrInterface
38+
* @not-deprecated
3839
*/
3940
protected function prophesize(?string $classOrInterface = null): ObjectProphecy
4041
{

0 commit comments

Comments
 (0)