Skip to content

Commit 5e8b342

Browse files
Add return type unions to private/internal/final/test methods
1 parent 157460c commit 5e8b342

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Loader/FileLocatorStub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
class FileLocatorStub implements FileLocatorInterface
88
{
9-
public function locate(string $name, string $currentPath = null, bool $first = true)
9+
public function locate(string $name, string $currentPath = null, bool $first = true): string|array
1010
{
1111
if (0 === strpos($name, 'http')) {
1212
return $name;

0 commit comments

Comments
 (0)