mirror of
https://github.com/linuxserver/Heimdall.git
synced 2025-12-14 19:03:51 +09:00
Updates to vendors etc
This commit is contained in:
@@ -40,10 +40,8 @@ interface SessionStorageInterface
|
||||
|
||||
/**
|
||||
* Sets the session ID.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function setId(string $id);
|
||||
public function setId(string $id): void;
|
||||
|
||||
/**
|
||||
* Returns the session name.
|
||||
@@ -52,10 +50,8 @@ interface SessionStorageInterface
|
||||
|
||||
/**
|
||||
* Sets the session name.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function setName(string $name);
|
||||
public function setName(string $name): void;
|
||||
|
||||
/**
|
||||
* Regenerates id that represents this storage.
|
||||
@@ -94,19 +90,15 @@ interface SessionStorageInterface
|
||||
* a real PHP session would interfere with testing, in which case
|
||||
* it should actually persist the session data if required.
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @throws \RuntimeException if the session is saved without being started, or if the session
|
||||
* is already closed
|
||||
*/
|
||||
public function save();
|
||||
public function save(): void;
|
||||
|
||||
/**
|
||||
* Clear all session data in memory.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function clear();
|
||||
public function clear(): void;
|
||||
|
||||
/**
|
||||
* Gets a SessionBagInterface by name.
|
||||
@@ -117,10 +109,8 @@ interface SessionStorageInterface
|
||||
|
||||
/**
|
||||
* Registers a SessionBagInterface for use.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function registerBag(SessionBagInterface $bag);
|
||||
public function registerBag(SessionBagInterface $bag): void;
|
||||
|
||||
public function getMetadataBag(): MetadataBag;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user