diff --git a/src/Elgentos/Masquerade/Console/RunCommand.php b/src/Elgentos/Masquerade/Console/RunCommand.php index 3e39ac9..c3dfa14 100644 --- a/src/Elgentos/Masquerade/Console/RunCommand.php +++ b/src/Elgentos/Masquerade/Console/RunCommand.php @@ -335,7 +335,7 @@ private function setup() $this->locale = $this->input->getOption('locale') ?? $databaseConfig['locale'] ?? 'en_US'; - $this->group = array_filter(array_map('trim', explode(',', $this->input->getOption('group')))); + $this->group = array_filter(array_map('trim', explode(',', (string)$this->input->getOption('group')))); } /**