Skip to content

Commit 1f5234e

Browse files
committed
Fix return type is non-nullable
1 parent e9bfc94 commit 1f5234e

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
@@ -104,7 +104,7 @@ public function supports(mixed $resource, ?string $type = null): bool
104104

105105
protected function getObject(string $id): object
106106
{
107-
return $this->loaderMap[$id] ?? null;
107+
return $this->loaderMap[$id];
108108
}
109109
}
110110

0 commit comments

Comments
 (0)