This repository has been archived by the owner on Jun 12, 2023. It is now read-only.
addMessage should add a message, not set the group to the message #2
Labels
bug
Something isn't working
Hi
This morning I've tried to use your library and I fear that I stumbled on a simple bug:
Flash::addMessage()
should add the message not set the key to the message...The current code is
but adding the message should imo be:
Since you did define the return type of
getMessages()
php gave me a nice error instead of simply returning the wrong data : - ).I will keep on testing your library, but, for now, it seems to do its job!
The text was updated successfully, but these errors were encountered: