Skip to content

Commit c769a16

Browse files
committed
Fixed Psalm issues
1 parent aaa5432 commit c769a16

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Service/Localization.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,13 @@ public function getTimezones(): array
7373
/**
7474
* @throws Throwable
7575
*
76-
* @return array<int, array{timezone: string, identifier: string, offset: string, value: string}>
76+
* @return array<int, array{timezone: string, identifier: non-empty-string, offset: string, value: string}>
7777
*/
7878
public function getFormattedTimezones(): array
7979
{
8080
$output = [];
8181

82+
/** @var array<int, non-empty-string> $identifiers */
8283
$identifiers = DateTimeZone::listIdentifiers();
8384

8485
foreach ($identifiers as $identifier) {

0 commit comments

Comments
 (0)