Skip to content

Commit 9b58221

Browse files
committed
- fixes the method visibility
- fixes the stamp value type
1 parent 72bc115 commit 9b58221

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Session.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ final class PhpSession implements Session
126126
private $modified = false;
127127

128128
/**
129-
* @var int
129+
* @var float
130130
*/
131131
private $stamp = 0;
132132

@@ -174,7 +174,7 @@ public function all(): array
174174
return (array)$_SESSION + $this->getMetadata();
175175
}
176176

177-
function __set(string $name, $value)
177+
public function __set(string $name, $value)
178178
{
179179
return $this->set($name, $value);
180180
}

0 commit comments

Comments
 (0)