Skip to content

Commit b9b8a57

Browse files
authored
Update old() docblock (#54641)
This simply copies the latest docblock from the wrapped method (`InteractsWithFlashData::old()`)
1 parent 1e2232f commit b9b8a57

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Illuminate/Foundation/helpers.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -604,8 +604,8 @@ function now($tz = null)
604604
* Retrieve an old input item.
605605
*
606606
* @param string|null $key
607-
* @param mixed $default
608-
* @return mixed
607+
* @param \Illuminate\Database\Eloquent\Model|string|array|null $default
608+
* @return string|array|null
609609
*/
610610
function old($key = null, $default = null)
611611
{

0 commit comments

Comments
 (0)