Updates to vendors etc

This commit is contained in:
Chris Hunt
2025-07-11 15:57:48 +01:00
parent d972cbcd0a
commit 8fb6438254
8043 changed files with 248005 additions and 189479 deletions

View File

@@ -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;
}