Skip to content

Commit

Permalink
Ignore error reported by psalm
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Oct 17, 2020
1 parent 8458a20 commit c55dbcb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Model/Filter/FilterCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ protected function _loadFilter(string $name, string $filter, array $options = []
throw new InvalidArgumentException(sprintf('Search filter "%s" was not found.', $class));
}

/** @psalm-suppress UnsafeInstantiation */
return new $className($name, $this->_manager, $options);
}

Expand Down

0 comments on commit c55dbcb

Please sign in to comment.