Skip to content

Commit 14395fe

Browse files
authored
fix: setContents() does not toggle modified flag (#15)
1 parent 6b59688 commit 14395fe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Session.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@ public function setCasToken($token): void
187187
*/
188188
public function setContents(array $contents): void
189189
{
190+
$this->modified = true;
190191
$this->contents = $contents;
191192
}
192193

0 commit comments

Comments
 (0)