Update Composer packages
This commit is contained in:
parent
0320235f6c
commit
a8b68fb61b
378 changed files with 28466 additions and 28852 deletions
|
@ -75,11 +75,10 @@ class AutoSession
|
|||
}
|
||||
|
||||
// get the current session
|
||||
if ($options['detect'] === true) {
|
||||
$session = $this->sessions->currentDetected();
|
||||
} else {
|
||||
$session = $this->sessions->current();
|
||||
}
|
||||
$session = match ($options['detect']) {
|
||||
true => $this->sessions->currentDetected(),
|
||||
default => $this->sessions->current()
|
||||
};
|
||||
|
||||
// create a new session
|
||||
if ($session === null) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue