Skip to content
This repository has been archived by the owner on Sep 10, 2024. It is now read-only.

Commit

Permalink
Merge pull request #368 from lilianjin/patch-3
Browse files Browse the repository at this point in the history
There is no session option on 5.8, so fix it
  • Loading branch information
albertcht authored Mar 8, 2020
2 parents e0e4c38 + 74f0d2f commit 6b3732d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Websocket/Middleware/StartSession.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,6 @@ public function getSession(Request $request)
*/
protected function sessionConfigured()
{
return Arr::get($this->manager->getSessionConfig(), 'session') !== null;
return ! is_null($this->manager->getSessionConfig()['driver'] ?? null);
}
}

0 comments on commit 6b3732d

Please sign in to comment.