diff --git a/core/tests/Drupal/Tests/Core/Entity/FieldDefinitionTest.php b/core/tests/Drupal/Tests/Core/Entity/FieldDefinitionTest.php index 256f2a256b..98fe41552c 100644 --- a/core/tests/Drupal/Tests/Core/Entity/FieldDefinitionTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/FieldDefinitionTest.php @@ -72,7 +72,7 @@ protected function setUp() { $storage_definition->getType()->willReturn($this->fieldType); $storage_definition->getName()->willReturn('Test field name'); $storage_supports_translation = &$this->storageSupportsTranslation; - $storage_definition->isTranslatable()->will(function() use (&$storage_supports_translation) { + $storage_definition->isTranslatable()->will(function () use (&$storage_supports_translation) { return $storage_supports_translation; }); $storage_definition->getSettings()->willReturn($this->fieldTypeDefinition['storage_settings']);