Skip to content

Commit 9946f4d

Browse files
committed
docs: fix PHPDoc types in Common
1 parent 77e5dcf commit 9946f4d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

system/Common.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -823,10 +823,10 @@ function model(string $name, bool $getShared = true, ?ConnectionInterface &$conn
823823
* Provides access to "old input" that was set in the session
824824
* during a redirect()->withInput().
825825
*
826-
* @param null $default
826+
* @param string|null $default
827827
* @param bool|string $escape
828828
*
829-
* @return mixed|null
829+
* @return array|string|null
830830
*/
831831
function old(string $key, $default = null, $escape = 'html')
832832
{
@@ -932,7 +932,7 @@ function route_to(string $method, ...$params)
932932
*
933933
* @param string $val
934934
*
935-
* @return mixed|Session|null
935+
* @return array|bool|float|int|object|Session|string|null
936936
*/
937937
function session(?string $val = null)
938938
{

0 commit comments

Comments
 (0)