From a4c248915db937e25e203f599b8f78afd2016eac Mon Sep 17 00:00:00 2001
From: Liam Morland <lkmorlan@493050.no-reply.drupal.org>
Date: Tue, 17 Nov 2020 20:29:35 +0000
Subject: [PATCH] Issue #3183052: Remove non-variable passed by reference

---
 src/EventSubscriber/LayoutBuilderIdsConfigureBlock.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/EventSubscriber/LayoutBuilderIdsConfigureBlock.php b/src/EventSubscriber/LayoutBuilderIdsConfigureBlock.php
index edc93a3..ceb8bce 100644
--- a/src/EventSubscriber/LayoutBuilderIdsConfigureBlock.php
+++ b/src/EventSubscriber/LayoutBuilderIdsConfigureBlock.php
@@ -63,7 +63,7 @@ class LayoutBuilderIdsConfigureBlock implements EventSubscriberInterface {
     ) {
 
       // Pull out the layout_builder_id from config.
-      $layout_builder_id = &$event->getFormState()->getFormObject()->getCurrentComponent()->get('layout_builder_id');
+      $layout_builder_id = $event->getFormState()->getFormObject()->getCurrentComponent()->get('layout_builder_id');
 
       // Add the section id to the configure form.
       $form['settings']['layout_builder_id'] = [
-- 
GitLab