From 85e52362fb658d9ffd257d5f13f9189bf2103b18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Denis=20=C5=BDoljom?= Date: Fri, 10 Nov 2023 16:29:46 +0100 Subject: [PATCH] Remove union types Not supported in PHP 7.4. --- tests/Helpers.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Helpers.php b/tests/Helpers.php index ea8c827..9321fb3 100644 --- a/tests/Helpers.php +++ b/tests/Helpers.php @@ -24,7 +24,7 @@ * * @return MockInterface|LegacyMockInterface */ -function mock(string $class): MockInterface | LegacyMockInterface +function mock(string $class) { return Mockery::mock($class); }