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