From 6b0fcc12916141c0c31e505ceb85907c3dd7ed93 Mon Sep 17 00:00:00 2001 From: Martin Zurowietz Date: Sun, 19 Feb 2023 11:02:15 +0100 Subject: [PATCH] Update docs for new old() method signature --- docs/methods.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/methods.md b/docs/methods.md index 5326381..0b261e2 100644 --- a/docs/methods.md +++ b/docs/methods.md @@ -6,7 +6,7 @@ These are only the most important methods of `Uniform\Form`. For all methods che Redirect back to the previous URL. This method should be called [after all form actions](usage). -## old($key) +## old($key, $default = '') Get the data that was flashed to the session @@ -15,7 +15,7 @@ This method does not work for some types of form fields (such as `type="file"`). Return: `mixed` ```html+php - + ``` ## error($key = '')