diff --git a/requirement-checker/src/RequirementCollection.php b/requirement-checker/src/RequirementCollection.php index 6b12ff9b7..0527c9c7c 100644 --- a/requirement-checker/src/RequirementCollection.php +++ b/requirement-checker/src/RequirementCollection.php @@ -93,9 +93,7 @@ public function evaluateRequirements() { return array_reduce( $this->requirements, - function (bool $checkPassed, Requirement $requirement): bool { - return $checkPassed && $requirement->isFulfilled(); - }, + fn (bool $checkPassed, Requirement $requirement): bool => $checkPassed && $requirement->isFulfilled(), true ); }