8000 Drop cast from SessionHandlerProxy::gc() entirely · symfony/symfony@1f91140 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1f91140

Browse files
committed
Drop cast from SessionHandlerProxy::gc() entirely
1 parent 2247d0b commit 1f91140

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/Symfony/Component/HttpFoundation/Session/Storage/Proxy/SessionHandlerProxy.php

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,7 @@ public function destroy($sessionId)
8686
#[\ReturnTypeWillChange]
8787
public function gc($maxlifetime)
8888
{
89-
$result = $this->handler->gc($maxlifetime);
90-
if (false === $result) {
91-
return false;
92-
}
93-
94-
return (int) $result;
89+
return $this->handler->gc($maxlifetime);
9590
}
9691

9792
/**

0 commit comments

Comments
 (0)
0