From 41d5270ad05daf402a300a2681b07173200243b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20D=C3=BCsterhus?= Date: Thu, 21 Nov 2024 08:59:12 +0100 Subject: [PATCH] releases/8.4: Make minor codestyle changes to array_find example --- releases/8.4/release.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releases/8.4/release.inc b/releases/8.4/release.inc index dd1f76310a..8e70f6a2d3 100644 --- a/releases/8.4/release.inc +++ b/releases/8.4/release.inc @@ -366,7 +366,7 @@ PHP <<<'PHP' $animal = array_find( ['dog', 'cat', 'cow', 'duck', 'goose'], - static fn(string $value): bool => str_starts_with($value, 'c'), + static fn (string $value): bool => str_starts_with($value, 'c'), ); var_dump($animal); // string(3) "cat"