Security update for Core, with self-updated composer
[yaffs-website] / web / core / tests / Drupal / Tests / Core / Field / FieldDefinitionListenerTest.php
index 01d0bb2686c2e107af3eb9793c5be466e143eb07..8bedf0750f035607795b0bb79f7d99e37c1fb53d 100644 (file)
@@ -101,7 +101,9 @@ class FieldDefinitionListenerTest 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);
   }