diff --git a/src/Module.php b/src/Module.php index 7f951f1..02c606c 100644 --- a/src/Module.php +++ b/src/Module.php @@ -69,7 +69,7 @@ public function flashMessengerHandler(EventInterface $e) foreach ($container->getArrayCopy() as $key => $row) { if ($row instanceof SplQueue) { $valuesMessage = []; - foreach ($row->toArray() as $keyArray => $rowArray) { + foreach ($row->toArray() as $rowArray) { $flash->setNamespace($key)->addMessage($rowArray); $valuesMessage[] = $rowArray; }