Skip to content

Commit a3e4829

Browse files
fix(typing): wrong return type
1 parent 9b8f409 commit a3e4829

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

core/dto.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,8 @@ final class BookProvider implements ProviderInterface
272272
private readonly ProviderInterface $collectionProvider,
273273
) {}
274274

275-
public function provide(Operation $operation, array $uriVariables = [], array $context = []): ?PostalAddress
275+
/** @return array<Book> */
276+
public function provide(Operation $operation, array $uriVariables = [], array $context = []): array
276277
{
277278
$resources = $this->collectionProvider->provide($operation, $uriVariables, $context);
278279

0 commit comments

Comments
 (0)