Security update for Core, with self-updated composer
[yaffs-website] / web / core / tests / Drupal / Tests / Core / ParamConverter / EntityConverterTest.php
index 67decbed0ecd3f70a3694240667bd2215b428d21..54fcfbd73d9a603a9584c193b2e662b09f1a7076 100644 (file)
@@ -50,7 +50,7 @@ class EntityConverterTest extends UnitTestCase {
   public function testApplies(array $definition, $name, Route $route, $applies) {
     $this->entityManager->expects($this->any())
       ->method('hasDefinition')
-      ->willReturnCallback(function($entity_type) {
+      ->willReturnCallback(function ($entity_type) {
         return 'entity_test' == $entity_type;
       });
     $this->assertEquals($applies, $this->entityConverter->applies($definition, $name, $route));