Searched refs:array_reduce (Results 1 – 4 of 4) sorted by relevance
/webtrees/app/ |
H A D | Validator.php | 28 use function array_reduce; alias 284 return array_reduce($this->rules, $callback, $value) ?? []; 305 $value = array_reduce($this->rules, $callback, $value) ?? $default; 338 $value = array_reduce($this->rules, $callback, $value) ?? $default; 379 $value = array_reduce($this->rules, $callback, $value) ?? $default;
|
/webtrees/app/Module/ |
H A D | LifespansChartModule.php | 44 use function array_reduce; alias 260 $max_rows = array_reduce($lifespans, $callback, 0); 286 $jd = array_reduce($individuals, static function (int $carry, Individual $item): int { 309 $jd = array_reduce($individuals, static function (int $carry, Individual $item): int {
|
/webtrees/app/Services/ |
H A D | RelationshipService.php | 34 use function array_reduce; alias 225 …return array_reduce($relationships, static fn (array $carry, array $item): array => [sprintf($carr…
|
/webtrees/ |
H A D | phpstan-baseline.neon | 8938 …message: '#^Parameter \#2 \$callback of function array_reduce expects callable\(array\{string, str…
|