Skip to content

Commit

Permalink
Finally fix psalm
Browse files Browse the repository at this point in the history
  • Loading branch information
heiglandreas committed Feb 12, 2024
1 parent f99c6dd commit a9b8d25
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/Dictionary/Dictionary.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class Dictionary
/**
* The internal storage for the dictionary.
*
* @var array $dictionary
* @var array<string, mixed> $dictionary
*/
private $dictionary = array();

Expand Down Expand Up @@ -133,9 +133,6 @@ public function load($locale)
return $this;
}
foreach (parse_ini_file($file) as $key => $val) {
if (is_array($key)) {
continue;
}
$this->dictionary[(string) str_replace('@:', '', $key)] = $val;
}

Expand Down

0 comments on commit a9b8d25

Please sign in to comment.