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;