From f77cb475285f492844655d79ea41f0ef27a8bed8 Mon Sep 17 00:00:00 2001 From: Aidan Woods Date: Wed, 8 Dec 2021 20:32:09 +0000 Subject: [PATCH] Remove unnecessary cast --- src/Components/Blocks/Table.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Components/Blocks/Table.php b/src/Components/Blocks/Table.php index 8628478..f88e2b1 100644 --- a/src/Components/Blocks/Table.php +++ b/src/Components/Blocks/Table.php @@ -115,10 +115,10 @@ final class Table implements AcquisitioningBlock, ContinuableBlock return null; } - $cells = \array_values(\array_map( + $cells = \array_map( 'trim', \array_slice($matches[0], 0, \count($this->alignments)) - )); + ); return new self( $this->alignments,