Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / field / src / Tests / Views / FieldUITest.php
index ce8208ba65d310105765126add7d715ea44862dd..851b7bdff9a905f805837a11a0adb97e82810c43 100644 (file)
@@ -57,7 +57,7 @@ class FieldUITest extends FieldTestBase {
 
     // Tests the available formatter options.
     $result = $this->xpath('//select[@id=:id]/option', [':id' => 'edit-options-type']);
-    $options = array_map(function($item) {
+    $options = array_map(function ($item) {
       return (string) $item->attributes()->value[0];
     }, $result);
     // @todo Replace this sort by assertArray once it's in.
@@ -111,7 +111,7 @@ class FieldUITest extends FieldTestBase {
     // Test the click sort column options.
     // Tests the available formatter options.
     $result = $this->xpath('//select[@id=:id]/option', [':id' => 'edit-options-click-sort-column']);
-    $options = array_map(function($item) {
+    $options = array_map(function ($item) {
       return (string) $item->attributes()->value[0];
     }, $result);
     sort($options, SORT_STRING);