Skip to content

Commit

Permalink
Fix CS/WS issues
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Feb 24, 2024
1 parent a01fd3f commit 0f4fed2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ public function testWillReturnFailsWhenTryingToReturnSingleIncompatibleClass():

public function testWillReturnAllowsMatchersForMultipleMethodsWithDifferentReturnTypes(): void
{
/** @var ClassWithAllPossibleReturnTypes|\PHPUnit\Framework\MockObject\MockObject $mock */
/** @var ClassWithAllPossibleReturnTypes|MockObject $mock */
$mock = $this->getMockBuilder(ClassWithAllPossibleReturnTypes::class)
->getMock();

Expand Down Expand Up @@ -206,7 +206,7 @@ public function testWillReturnValidTypeForLowercaseMethod(): void
*/
public function testWillReturnFailsWhenTryingToReturnValueFromVoidMethod(): void
{
/** @var ClassWithAllPossibleReturnTypes|\PHPUnit\Framework\MockObject\MockObject $out */
/** @var ClassWithAllPossibleReturnTypes|MockObject $out */
$out = $this->createMock(ClassWithAllPossibleReturnTypes::class);
$method = $out->method('methodWithVoidReturnTypeDeclaration');

Expand Down

0 comments on commit 0f4fed2

Please sign in to comment.