mirror of
https://github.com/flarum/framework.git
synced 2025-02-06 15:13:00 +08:00
Type hint contract, not implementation
This commit is contained in:
parent
32e84d651c
commit
5103a50711
|
@ -68,7 +68,7 @@ class StartSession implements Middleware
|
||||||
return $this->withSessionCookie($response, $session);
|
return $this->withSessionCookie($response, $session);
|
||||||
}
|
}
|
||||||
|
|
||||||
private function makeSession(Request $request): Store
|
private function makeSession(Request $request): Session
|
||||||
{
|
{
|
||||||
return new Store(
|
return new Store(
|
||||||
$this->config['cookie'],
|
$this->config['cookie'],
|
||||||
|
|
Loading…
Reference in New Issue
Block a user