X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Ftests%2FDrupal%2FKernelTests%2FCore%2FPlugin%2FDiscovery%2FDiscoveryTestBase.php;h=4c6e22a8ea4b8bbc97795bebc7147060bf74664e;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hp=a3492ed223fa7cdbcdb9135c5fd01a1558cf9ec9;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;p=yaffs-website 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; }