From f9395535b7c93047884372afbc97a90a55c617fb Mon Sep 17 00:00:00 2001 From: Darius Matulionis Date: Wed, 13 Mar 2024 17:40:26 +0200 Subject: [PATCH] WIP --- tests/RoutesTest.php | 2 +- tests/TestCase.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/RoutesTest.php b/tests/RoutesTest.php index 1e59055..02d0c29 100644 --- a/tests/RoutesTest.php +++ b/tests/RoutesTest.php @@ -236,7 +236,7 @@ public function testItWillReturn404WhenDocGenerationFails(): void /** * @throws Exception */ - private function mockGenerator(): Generator|MockObject + private function mockGenerator(): Generator { $mockGenerator = $this->createMock(Generator::class); $mockGeneratorFactory = $this->createMock(GeneratorFactory::class); diff --git a/tests/TestCase.php b/tests/TestCase.php index a130f95..e86b2b5 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -22,7 +22,7 @@ class TestCase extends OrchestraTestCase protected Generator $generator; - protected Filesystem|MockObject $fileSystem; + protected Filesystem $fileSystem; /** * @throws Exception