From 56631e58d700dbacf7ff1b7e4b5ab07d4eae6f8c Mon Sep 17 00:00:00 2001 From: Lee Rowlands <lee.rowlands@previousnext.com.au> Date: Tue, 25 Jul 2017 16:59:52 +1000 Subject: [PATCH] Issue #2847651 by murrow, rachel_norfolk, mpdonadio, john@johncook.me.uk, BarisW, droplet, tstoeckler, andrewmacpherson, prabhu9484, ok_lyndsey, benjifisher, yoroy, lauriii, martin107: Improve timezones selector with optgroups --- core/modules/system/tests/src/Kernel/Timezone/TimezoneTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/modules/system/tests/src/Kernel/Timezone/TimezoneTest.php b/core/modules/system/tests/src/Kernel/Timezone/TimezoneTest.php index 1daa00ecda68..8a5385c2fe81 100644 --- a/core/modules/system/tests/src/Kernel/Timezone/TimezoneTest.php +++ b/core/modules/system/tests/src/Kernel/Timezone/TimezoneTest.php @@ -54,7 +54,7 @@ public function testSystemTimeZones() { $ungrouped_count = count(system_time_zones()); $grouped_result = system_time_zones(NULL, TRUE); $grouped_count = 0; - array_walk_recursive($grouped_result, function ($grouped_count) use + array_walk_recursive($grouped_result, function () use (&$grouped_count) { $grouped_count++; }); -- GitLab