fix: type decl
This commit is contained in:
parent
36c81135f3
commit
170c30f821
1 changed files with 1 additions and 1 deletions
|
|
@ -55,7 +55,7 @@ class HttpRequest extends Collection
|
|||
return parent::get('data')->get($key, $default);
|
||||
}
|
||||
|
||||
function session(Session $value = null)
|
||||
function session(?Session $value = null)
|
||||
{
|
||||
if ($value) {
|
||||
$this->_session = $value;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue