Skip to content

Commit

Permalink
qa: enforce non-empty-string as array key for `MetadataCapableInter…
Browse files Browse the repository at this point in the history
…face#getMetadatas` return type

Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
  • Loading branch information
boesing committed Jun 15, 2024
1 parent 00b58ad commit 2841b2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Storage/MetadataCapableInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public function getMetadata(string $key): ?object;
* Get multiple metadata
*
* @param non-empty-list<non-empty-string> $keys
* @return array<string,TMetadata> Associative array of keys and metadata
* @return array<non-empty-string|int,TMetadata> Associative array of keys and metadata
* @throws ExceptionInterface
*/
public function getMetadatas(array $keys): array;
Expand Down

0 comments on commit 2841b2f

Please sign in to comment.