Skip to content

Commit 2841b2f

Browse files
committed
qa: enforce non-empty-string as array key for MetadataCapableInterface#getMetadatas return type
Signed-off-by: Maximilian Bösing <[email protected]>
1 parent 00b58ad commit 2841b2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Storage/MetadataCapableInterface.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public function getMetadata(string $key): ?object;
2424
* Get multiple metadata
2525
*
2626
* @param non-empty-list<non-empty-string> $keys
27-
* @return array<string,TMetadata> Associative array of keys and metadata
27+
* @return array<non-empty-string|int,TMetadata> Associative array of keys and metadata
2828
* @throws ExceptionInterface
2929
*/
3030
public function getMetadatas(array $keys): array;

0 commit comments

Comments
 (0)