Security update for Core, with self-updated composer
[yaffs-website] / web / core / tests / Drupal / Tests / Core / Entity / EntityUrlTest.php
index 8381ea7c64e2b07e93d4e2b6bd1ba0bdc8872004..f1c4ca8ec9fa2d2bb38f248ea5b896a4f7202b73 100644 (file)
@@ -362,7 +362,9 @@ class EntityUrlTest extends UnitTestCase {
   public function providerTestToUrlUriCallback() {
     $test_cases = [];
 
-    $uri_callback = function () { return Url::fromRoute('<none>'); };
+    $uri_callback = function () {
+      return Url::fromRoute('<none>');
+    };
     $test_cases['uri_callback'] = [[], $uri_callback];
     $test_cases['bundle_uri_callback'] = [['uri_callback' => $uri_callback], NULL];
 
@@ -581,8 +583,7 @@ class EntityUrlTest extends UnitTestCase {
   protected function registerBundleInfo($bundle_info) {
     $this->entityManager
       ->getBundleInfo($this->entityTypeId)
-      ->willReturn([$this->entityTypeId => $bundle_info])
-    ;
+      ->willReturn([$this->entityTypeId => $bundle_info]);
   }
 
 }