Security update for Core, with self-updated composer
[yaffs-website] / web / core / tests / Drupal / Tests / Core / Entity / EntityTypeRepositoryTest.php
index 5b372912199cb9ace90b7bd3593a787bcb09ed38..915ecd68181735eb05d9269f05f7175b24e2e0cf 100644 (file)
@@ -73,7 +73,9 @@ class EntityTypeRepositoryTest extends UnitTestCase {
         elseif (!$exception_on_invalid) {
           return NULL;
         }
-        else throw new PluginNotFoundException($entity_type_id);
+        else {
+          throw new PluginNotFoundException($entity_type_id);
+        }
       });
     $this->entityTypeManager->getDefinitions()->willReturn($definitions);
   }