Skip to content

Commit f902ac3

Browse files
Add more "object" return types
1 parent 47195e9 commit f902ac3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Loader/ObjectLoaderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ public function supports($resource, string $type = null): bool
106106
return 'service';
107107
}
108108

109-
protected function getObject(string $id)
109+
protected function getObject(string $id): object
110110
{
111111
return $this->loaderMap[$id] ?? null;
112112
}

0 commit comments

Comments
 (0)