Skip to content
This repository was archived by the owner on Mar 24, 2025. It is now read-only.

Commit 6b3732d

Browse files
authored
Merge pull request #368 from lilianjin/patch-3
There is no session option on 5.8, so fix it
2 parents e0e4c38 + 74f0d2f commit 6b3732d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Websocket/Middleware/StartSession.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,6 @@ public function getSession(Request $request)
8686
*/
8787
protected function sessionConfigured()
8888
{
89-
return Arr::get($this->manager->getSessionConfig(), 'session') !== null;
89+
return ! is_null($this->manager->getSessionConfig()['driver'] ?? null);
9090
}
9191
}

0 commit comments

Comments
 (0)