MCPcopy Create free account
hub / github.com/PHPantom-dev/phpantom_lsp / reduce

Method reduce

examples/demo.php:3037–3037  ·  view source on GitHub ↗

@param callable(int, int): int $fn */

(callable $fn)

Source from the content-addressed store, hash-verified

3035
3036 /** @param callable(int, int): int $fn */
3037 public function reduce(callable $fn): int { return 0; }
3038
3039 /** @param callable(User): bool $fn */
3040 public function filterOrders(callable $fn): array { return []; }

Callers 3

demoMethod · 0.95
demoMethod · 0.45
runDemoAssertionsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected