Skip to content

Commit

Permalink
Ignore invalid error reported by psalm
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Jun 18, 2020
1 parent 319824a commit ff1ed12
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/I18n/RelativeTimeFormatter.php
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,7 @@ public function dateAgoInWords(I18nDateTimeInterface $date, array $options = [])
*/
protected function _options(array $options, string $class): array
{
/** @psalm-suppress InvalidPropertyFetch */
$options += [
'from' => $class::now(),
'timezone' => null,
Expand Down

0 comments on commit ff1ed12

Please sign in to comment.