Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / user / tests / src / Unit / Menu / UserLocalTasksTest.php
index b9986c9b4c3f6826609113a1a349fa5cde96d7f8..97cf5931f3699f08e1884f95dd48c0fc46f44331 100644 (file)
@@ -69,7 +69,9 @@ class UserLocalTasksTest extends LocalTaskIntegrationTestBase {
     $tasks = [
       0 => ['entity.user.canonical', 'entity.user.edit_form'],
     ];
-    if ($subtask) $tasks[] = $subtask;
+    if ($subtask) {
+      $tasks[] = $subtask;
+    }
     $this->assertLocalTasks($route, $tasks);
   }