Skip to content

Commit

Permalink
build: Update the RequirementChecker (#1020)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Oct 6, 2023
1 parent da797a9 commit 3805f6d
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion res/requirement-checker/src/RequirementCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public function getPhpIniPath()
}
public function evaluateRequirements()
{
return \array_reduce($this->requirements, function (bool $checkPassed, Requirement $requirement) : bool {
return \array_reduce($this->requirements, static function (bool $checkPassed, Requirement $requirement) : bool {
return $checkPassed && $requirement->isFulfilled();
}, \true);
}
Expand Down
Loading

0 comments on commit 3805f6d

Please sign in to comment.