From d3a775e6265579f420e4c64b5cc87ed3dfff46ad Mon Sep 17 00:00:00 2001 From: David Lienhard Date: Mon, 19 Apr 2021 10:13:08 +0200 Subject: [PATCH] update author - update composer - update copyright & author in source --- composer.json | 6 +++--- src/SessionHandler.php | 36 ++++++++++++++++++------------------ 2 files changed, 21 insertions(+), 21 deletions(-) diff --git a/composer.json b/composer.json index cdcf802..10d6a7b 100644 --- a/composer.json +++ b/composer.json @@ -8,14 +8,14 @@ "authors": [ { "name": "David Lienhard", - "email": "david.lienhard@tourasia.ch", - "homepage": "http://www.tourasia.ch/", + "email": "github@lienhard.win", + "homepage": "http://www.lienhard.win/", "role": "Developer" } ], "support": { "issues": "https://github.com/davidlienhard/sessionhandler/issues/", - "email": "david.lienhard@tourasia.ch" + "email": "github@lienhard.win" }, "require": { "php": "^8.0", diff --git a/src/SessionHandler.php b/src/SessionHandler.php index 93bfe9f..fbe60e1 100644 --- a/src/SessionHandler.php +++ b/src/SessionHandler.php @@ -3,8 +3,8 @@ * contains \DavidLienhard\SessionHandler\SessionHandler class * * @package tourBase - * @author David Lienhard - * @copyright tourasia + * @author David Lienhard + * @copyright David Lienhard */ declare(strict_types=1); @@ -18,16 +18,16 @@ /** * sessionhandler using database * - * @author David Lienhard - * @copyright tourasia + * @author David Lienhard + * @copyright David Lienhard */ class SessionHandler implements \SessionHandlerInterface { /** * sets the given dependencies * - * @author David Lienhard - * @copyright tourasia + * @author David Lienhard + * @copyright David Lienhard * @param \DavidLienhard\Database\DatabaseInterface $db database connection * @return void * @uses self::$db @@ -39,8 +39,8 @@ public function __construct(private DatabaseInterface $db) /** * placeholder * - * @author David Lienhard - * @copyright tourasia + * @author David Lienhard + * @copyright David Lienhard * @param string $savePath path to save sessions to * @param string $sessionID unique session id * @return bool @@ -53,8 +53,8 @@ public function open($savePath, $sessionID) /** * cleanup * - * @author David Lienhard - * @copyright tourasia + * @author David Lienhard + * @copyright David Lienhard * @return bool * @uses self::$db */ @@ -66,8 +66,8 @@ public function close() /** * read session data * - * @author David Lienhard - * @copyright tourasia + * @author David Lienhard + * @copyright David Lienhard * @param string $sessionID unique session id * @return string the session data * @uses self::$db @@ -98,8 +98,8 @@ public function read($sessionID) /** * write session data * - * @author David Lienhard - * @copyright tourasia + * @author David Lienhard + * @copyright David Lienhard * @param string $sessionID unique session id * @param string $sessionData data to be written to the session * @return bool @@ -128,8 +128,8 @@ public function write($sessionID, $sessionData) /** * destroys a session * - * @author David Lienhard - * @copyright tourasia + * @author David Lienhard + * @copyright David Lienhard * @param string $sessionID unique session id * @return bool * @uses self::$db @@ -154,8 +154,8 @@ public function destroy($sessionID) /** * garbage collection * - * @author David Lienhard - * @copyright tourasia + * @author David Lienhard + * @copyright David Lienhard * @param int $maxLifetime max lifetime of a session in seconds * @return bool * @uses self::$db