Skip to content

Commit

Permalink
Add type hint to satisfy linter
Browse files Browse the repository at this point in the history
  • Loading branch information
bwaidelich committed Aug 2, 2024
1 parent f9c0b7a commit 374478e
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,9 @@ public function get(ContentRepositoryId $contentRepositoryId): ContentRepository

public function getContentRepositoryIds(): ContentRepositoryIds
{
return ContentRepositoryIds::fromArray(array_keys($this->settings['contentRepositories'] ?? []));
/** @var array<string> $contentRepositoryIds */
$contentRepositoryIds = array_keys($this->settings['contentRepositories'] ?? []);
return ContentRepositoryIds::fromArray($contentRepositoryIds);
}

/**
Expand Down

0 comments on commit 374478e

Please sign in to comment.