From 5103a50711d987a32dc355012baf71d20642ab39 Mon Sep 17 00:00:00 2001 From: Franz Liedke Date: Sat, 6 Jul 2019 01:05:24 +0200 Subject: [PATCH] Type hint contract, not implementation --- framework/core/src/Http/Middleware/StartSession.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/core/src/Http/Middleware/StartSession.php b/framework/core/src/Http/Middleware/StartSession.php index 3d53dab8e..31c960a44 100644 --- a/framework/core/src/Http/Middleware/StartSession.php +++ b/framework/core/src/Http/Middleware/StartSession.php @@ -68,7 +68,7 @@ class StartSession implements Middleware return $this->withSessionCookie($response, $session); } - private function makeSession(Request $request): Store + private function makeSession(Request $request): Session { return new Store( $this->config['cookie'],