From bed759d59748605a17a91b1d86c8437a6f7bd1d5 Mon Sep 17 00:00:00 2001 From: Marius Hein Date: Fri, 30 Aug 2013 10:35:41 +0200 Subject: [PATCH] CS: Fix session classes refs #4641 --- library/Icinga/Authentication/PhpSession.php | 22 ++++++++++---------- library/Icinga/Authentication/Session.php | 6 +++--- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/library/Icinga/Authentication/PhpSession.php b/library/Icinga/Authentication/PhpSession.php index bcb12d05f..8f2ee7f03 100644 --- a/library/Icinga/Authentication/PhpSession.php +++ b/library/Icinga/Authentication/PhpSession.php @@ -32,7 +32,7 @@ use Icinga\Application\Logger; use \Icinga\Exception\ConfigurationError; /** - * Class PhpSession + * Session implementation in PHP * * Standard PHP Session handling * You have to call read() first in order to start the session. If @@ -81,7 +81,7 @@ class PhpSession extends Session ); /** - * Creates a new PHPSession object using the provided options (if any) + * Create a new PHPSession object using the provided options (if any) * * @param array $options An optional array of ini options to set, * @@ -110,7 +110,7 @@ class PhpSession extends Session } /** - * Returns true when the session has not yet been closed + * Return true when the session has not yet been closed * * @return bool */ @@ -124,7 +124,7 @@ class PhpSession extends Session } /** - * Returns true when the session has not yet been opened + * Return true when the session has not yet been opened * * @return bool */ @@ -138,7 +138,7 @@ class PhpSession extends Session } /** - * Opens a PHP session when possible + * Open a PHP session when possible * * @return bool True on success */ @@ -156,7 +156,7 @@ class PhpSession extends Session } /** - * Ensures that the session is open modifiable + * Ensure that the session is open modifiable * * @return bool True on success */ @@ -172,7 +172,7 @@ class PhpSession extends Session } /** - * Reads all values written to the underling session and + * Read all values written to the underling session and * makes them accessible. if keepOpen is not set, the session * is immediately closed again * @@ -193,7 +193,7 @@ class PhpSession extends Session } /** - * Writes all values of this session object to the underlying session implementation + * Write all values of this session object to the underlying session implementation * * If keepOpen is not set, the session is closed * @@ -218,7 +218,7 @@ class PhpSession extends Session } /** - * Closes and writes the session + * Close and writes the session * * Only call this if you want the session to be closed without any changes. * @@ -233,7 +233,7 @@ class PhpSession extends Session } /** - * Deletes the current session, causing all session information to be lost + * Delete the current session, causing all session information to be lost */ public function purge() { @@ -246,7 +246,7 @@ class PhpSession extends Session } /** - * Removes session cookies + * Remove session cookies */ private function clearCookies() { diff --git a/library/Icinga/Authentication/Session.php b/library/Icinga/Authentication/Session.php index 64a4eb2b0..0c098b5a3 100644 --- a/library/Icinga/Authentication/Session.php +++ b/library/Icinga/Authentication/Session.php @@ -41,12 +41,12 @@ abstract class Session private $sessionValues = array(); /** - * Opens a session or creates a new one if not exists + * Open a session or creates a new one if not exists */ abstract public function open(); /** - * Reads all values from the underlying session implementation + * Read all values from the underlying session implementation * * @param bool $keepOpen True to keep the session open */ @@ -132,7 +132,7 @@ abstract class Session } /** - * Clears all values from the session cache + * Clear all values from the session cache */ public function clear() {