Skip to content

Commit

Permalink
Remove union types
Browse files Browse the repository at this point in the history
Not supported in PHP 7.4.
  • Loading branch information
dingo-d committed Nov 10, 2023
1 parent 17f6b84 commit 85e5236
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
*
* @return MockInterface|LegacyMockInterface
*/
function mock(string $class): MockInterface | LegacyMockInterface
function mock(string $class)
{
return Mockery::mock($class);
}
Expand Down

0 comments on commit 85e5236

Please sign in to comment.