Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/Session.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,13 @@ public function start(): void
}
}

public function autoStart(bool $forWrite): void
{
if (!$this->fakeMode) {
$this->originalSession->autoStart($forWrite);
}
}

public function isStarted(): bool
{
if (!$this->fakeMode) {
Expand Down
2 changes: 1 addition & 1 deletion src/SessionSection.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public function removeExpiration($variables = NULL): void
{
}

public function remove(): void
public function remove($name = NULL): void
{
$this->data = [];
}
Expand Down