From 22adcf19b92b03ae53a24ff4f27457f2503b3c6c Mon Sep 17 00:00:00 2001 From: Chi Date: Wed, 5 May 2021 19:04:26 +0500 Subject: [PATCH] Fix spelling --- src/View/BlockViewBuilder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/View/BlockViewBuilder.php b/src/View/BlockViewBuilder.php index d0adc1e..940ee81 100644 --- a/src/View/BlockViewBuilder.php +++ b/src/View/BlockViewBuilder.php @@ -135,7 +135,7 @@ class BlockViewBuilder { if ($block_plugin instanceof TitleBlockPluginInterface) { $build['content']['#cache']['contexts'][] = 'url'; } - // Some blocks returns NULL instead of array when empty. + // Some blocks return null instead of array when empty. // @see https://www.drupal.org/project/drupal/issues/3212354 if ($wrapper && is_array($build['content']) && !Element::isEmpty($build['content'])) { $build += [