Skip to content

Commit

Permalink
Allow to use value as closure.
Browse files Browse the repository at this point in the history
Signed-off-by: crynobone <crynobone@gmail.com>
  • Loading branch information
crynobone committed Jul 3, 2015
1 parent 1f08c2c commit 3966614
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
*/
function messages($key, $message)
{
return app('orchestra.messages')->add($key, $message);
return app('orchestra.messages')->add($key, value($message));
}
}

0 comments on commit 3966614

Please sign in to comment.