core/modules/big_pipe/src/Render/BigPipeResponse.php | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/core/modules/big_pipe/src/Render/BigPipeResponse.php b/core/modules/big_pipe/src/Render/BigPipeResponse.php index 56cdde8..f74cec9 100644 --- a/core/modules/big_pipe/src/Render/BigPipeResponse.php +++ b/core/modules/big_pipe/src/Render/BigPipeResponse.php @@ -113,12 +113,8 @@ public function sendContent() { // All BigPipe placeholders are processed, so update this response's // attachments. - if (isset($this->attachments['big_pipe_placeholders'])) { - unset($this->attachments['big_pipe_placeholders']); - } - if (isset($this->attachments['big_pipe_nojs_placeholders'])) { - unset($this->attachments['big_pipe_nojs_placeholders']); - } + unset($this->attachments['big_pipe_placeholders']); + unset($this->attachments['big_pipe_nojs_placeholders']); return $this; }