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

Commit 74f0d2f

Browse files
authored
There is no session option on 5.8, so fix it
1 parent e0e4c38 commit 74f0d2f

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)