mirror of
https://github.com/linuxserver/Heimdall.git
synced 2025-12-12 18:03:52 +09:00
Updates to vendors etc
This commit is contained in:
@@ -34,10 +34,8 @@ interface SessionInterface
|
||||
|
||||
/**
|
||||
* Sets the session ID.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function setId(string $id);
|
||||
public function setId(string $id): void;
|
||||
|
||||
/**
|
||||
* Returns the session name.
|
||||
@@ -46,10 +44,8 @@ interface SessionInterface
|
||||
|
||||
/**
|
||||
* Sets the session name.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function setName(string $name);
|
||||
public function setName(string $name): void;
|
||||
|
||||
/**
|
||||
* Invalidates the current session.
|
||||
@@ -82,10 +78,8 @@ interface SessionInterface
|
||||
* This method is generally not required for real sessions as
|
||||
* the session will be automatically saved at the end of
|
||||
* code execution.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function save();
|
||||
public function save(): void;
|
||||
|
||||
/**
|
||||
* Checks if an attribute is defined.
|
||||
@@ -99,10 +93,8 @@ interface SessionInterface
|
||||
|
||||
/**
|
||||
* Sets an attribute.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function set(string $name, mixed $value);
|
||||
public function set(string $name, mixed $value): void;
|
||||
|
||||
/**
|
||||
* Returns attributes.
|
||||
@@ -111,10 +103,8 @@ interface SessionInterface
|
||||
|
||||
/**
|
||||
* Sets attributes.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function replace(array $attributes);
|
||||
public function replace(array $attributes): void;
|
||||
|
||||
/**
|
||||
* Removes an attribute.
|
||||
@@ -125,10 +115,8 @@ interface SessionInterface
|
||||
|
||||
/**
|
||||
* Clears all attributes.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function clear();
|
||||
public function clear(): void;
|
||||
|
||||
/**
|
||||
* Checks if the session was started.
|
||||
@@ -137,10 +125,8 @@ interface SessionInterface
|
||||
|
||||
/**
|
||||
* Registers a SessionBagInterface with the session.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function registerBag(SessionBagInterface $bag);
|
||||
public function registerBag(SessionBagInterface $bag): void;
|
||||
|
||||
/**
|
||||
* Gets a bag instance by name.
|
||||
|
||||
Reference in New Issue
Block a user