Skip to content

Commit e0d853b

Browse files
committed
[HttpFoundation] Avoid TypeError when calling \SessionHandlerInterface::gc().
1 parent a194922 commit e0d853b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/Session/Storage/Handler/MarshallingSessionHandlerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,9 @@ public function testGc()
7272
$marshallingSessionHandler = new MarshallingSessionHandler($this->handler, $this->marshaller);
7373

7474
$this->handler->expects($this->once())->method('gc')
75-
->with('maxlifetime')->willReturn(true);
75+
->with(4711)->willReturn(true);
7676

77-
$marshallingSessionHandler->gc('maxlifetime');
77+
$marshallingSessionHandler->gc(4711);
7878
}
7979

8080
public function testRead()

0 commit comments

Comments
 (0)