Skip to content

Commit

Permalink
Improve documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
ausi committed May 9, 2023
1 parent cdcec89 commit 7c69e59
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Metadata/MetadataFormatInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function serialize(ImageMetadata $metadata, array $preserveKeys): string;
public function parse(string $binaryChunk): array;

/**
* @return array<string,list<string>>
* @return array<string,list<string>> Labels as keys, values as string lists
*/
public function toReadable(array $data): array;
}
2 changes: 1 addition & 1 deletion src/Metadata/MetadataReaderWriter.php
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ public function serializeFormat(string $format, ImageMetadata $metadata, array $
}

/**
* @return array<string,array<string,list<string>>>
* @return array<string,array<string,list<string>>> One array per format with labels as keys, values as string lists
*/
public function toReadable(ImageMetadata $metadata): array
{
Expand Down

0 comments on commit 7c69e59

Please sign in to comment.