Skip to content

Commit aa02896

Browse files
committed
Stub methods might have side effects
1 parent e6f8925 commit aa02896

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Mockery/Reflection/StubMethodReflection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public function getThrowType(): ?\PHPStan\Type\Type
9595

9696
public function hasSideEffects(): \PHPStan\TrinaryLogic
9797
{
98-
return TrinaryLogic::createNo();
98+
return TrinaryLogic::createMaybe();
9999
}
100100

101101
}

0 commit comments

Comments
 (0)