mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-03 11:18:42 +00:00
Make lock standard
This commit is contained in:
parent
7cbd8d6081
commit
2a14389073
|
|
@ -147,11 +147,9 @@ class HttpSession implements SessionInterface
|
|||
}
|
||||
|
||||
/**
|
||||
* Lock session from further adjustments.
|
||||
*
|
||||
* @since 1.0.0
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function lock()
|
||||
public function lock() /* : void */
|
||||
{
|
||||
self::$isLocked = true;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -91,4 +91,12 @@ interface SessionInterface
|
|||
*/
|
||||
public function setSID($sid) /* : void */;
|
||||
|
||||
/**
|
||||
* Lock session from further adjustments.
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function lock() /* : void */;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user