From 5b55b645d128cfb66b0a67928ba06308e2fd669e Mon Sep 17 00:00:00 2001 From: roberto-butti Date: Mon, 2 Oct 2023 07:44:00 +0000 Subject: [PATCH] Fix styling --- src/Table.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Table.php b/src/Table.php index b26a656..41bf9a1 100644 --- a/src/Table.php +++ b/src/Table.php @@ -179,7 +179,7 @@ public function groupBy(string|int $field): Table foreach ($this->rows as $value) { $property = $value->get($field); $property = $this->castVariableForStrval($property); - + if (!$property || array_key_exists(strval($property), $result)) { continue;