X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Ftests%2FDrupal%2FKernelTests%2FCore%2FPlugin%2FDiscovery%2FDiscoveryTestBase.php;fp=web%2Fcore%2Ftests%2FDrupal%2FKernelTests%2FCore%2FPlugin%2FDiscovery%2FDiscoveryTestBase.php;h=4c6e22a8ea4b8bbc97795bebc7147060bf74664e;hp=a3492ed223fa7cdbcdb9135c5fd01a1558cf9ec9;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hpb=aea91e65e895364e460983b890e295aa5d5540a5 diff --git a/web/core/tests/Drupal/KernelTests/Core/Plugin/Discovery/DiscoveryTestBase.php b/web/core/tests/Drupal/KernelTests/Core/Plugin/Discovery/DiscoveryTestBase.php index a3492ed22..4c6e22a8e 100644 --- a/web/core/tests/Drupal/KernelTests/Core/Plugin/Discovery/DiscoveryTestBase.php +++ b/web/core/tests/Drupal/KernelTests/Core/Plugin/Discovery/DiscoveryTestBase.php @@ -71,7 +71,7 @@ abstract class DiscoveryTestBase extends KernelTestBase { * TRUE if the assertion succeeded, FALSE otherwise. */ protected function assertDefinitionIdentical(array $definition, array $expected_definition) { - $func = function (&$item){ + $func = function (&$item) { if ($item instanceof TranslatableMarkup) { $item = (string) $item; }