Security update for Core, with self-updated composer
[yaffs-website] / web / core / lib / Drupal / Core / Render / Element / Checkboxes.php
index 3663cd57bb4d07f2d5aca9c838fdbb3acf178924..35611fd3b9d78f409ba461d3084e325c381dd74f 100644 (file)
@@ -139,7 +139,7 @@ class Checkboxes extends FormElement {
     //
     // @see \Drupal\Core\Render\Element\Checkboxes::valueCallback()
     // @see https://www.w3.org/TR/html401/interact/forms.html#checkbox
-    $checked = array_filter($input, function($value) {
+    $checked = array_filter($input, function ($value) {
       return $value !== 0;
     });
     return array_keys($checked);