Skip to content

Commit 85f18c4

Browse files
committed
feat: add return for clear method
1 parent 917f791 commit 85f18c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Http/Session.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ public static function delete($key)
133133
public static function clear()
134134
{
135135
static::start();
136-
session_unset();
136+
return session_unset();
137137
}
138138

139139
/**

0 commit comments

Comments
 (0)