Skip to content

Commit

Permalink
Revert method_exists clause
Browse files Browse the repository at this point in the history
  • Loading branch information
zoglo committed Mar 6, 2024
1 parent 7c9ac84 commit b3ade29
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,7 @@ class AddRecommendationValidatorListener
public function addValidators(): void
{
// Connects jumpTo pages
if (method_exists('Validator', 'addValidatorCollection'))
{
Validator::addValidatorCollection([RecommendationArchiveValidator::class], ['setJumpToPageConnection']);
}
Validator::addValidatorCollection([RecommendationArchiveValidator::class], ['setJumpToPageConnection']);
}

public function setModuleArchiveConnections(array $row): array
Expand Down

0 comments on commit b3ade29

Please sign in to comment.