Type hint contract, not implementation

This commit is contained in:
Franz Liedke 2019-07-06 01:05:24 +02:00
parent 32e84d651c
commit 5103a50711

View File

@ -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'],