summaryrefslogtreecommitdiffstats
path: root/Csrf
diff options
context:
space:
mode:
Diffstat (limited to 'Csrf')
-rw-r--r--Csrf/CsrfTokenManagerInterface.php2
-rw-r--r--Csrf/TokenStorage/NativeSessionTokenStorage.php4
-rw-r--r--Csrf/TokenStorage/TokenStorageInterface.php2
3 files changed, 4 insertions, 4 deletions
diff --git a/Csrf/CsrfTokenManagerInterface.php b/Csrf/CsrfTokenManagerInterface.php
index 050b6c1..5abe47c 100644
--- a/Csrf/CsrfTokenManagerInterface.php
+++ b/Csrf/CsrfTokenManagerInterface.php
@@ -62,7 +62,7 @@ interface CsrfTokenManagerInterface
*
* @param CsrfToken $token A CSRF token
*
- * @return bool Returns true if the token is valid, false otherwise
+ * @return bool Returns true if the token is valid, false otherwise
*/
public function isTokenValid(CsrfToken $token);
}
diff --git a/Csrf/TokenStorage/NativeSessionTokenStorage.php b/Csrf/TokenStorage/NativeSessionTokenStorage.php
index bb1a417..60145c6 100644
--- a/Csrf/TokenStorage/NativeSessionTokenStorage.php
+++ b/Csrf/TokenStorage/NativeSessionTokenStorage.php
@@ -40,8 +40,8 @@ class NativeSessionTokenStorage implements TokenStorageInterface
/**
* Initializes the storage with a session namespace.
*
- * @param string $namespace The namespace under which the token is stored
- * in the session
+ * @param string $namespace The namespace under which the token is stored
+ * in the session
*/
public function __construct($namespace = self::SESSION_NAMESPACE)
{
diff --git a/Csrf/TokenStorage/TokenStorageInterface.php b/Csrf/TokenStorage/TokenStorageInterface.php
index ea3a6a8..0fadfa3 100644
--- a/Csrf/TokenStorage/TokenStorageInterface.php
+++ b/Csrf/TokenStorage/TokenStorageInterface.php
@@ -53,7 +53,7 @@ interface TokenStorageInterface
*
* @param string $tokenId The token ID
*
- * @return bool Whether a token exists with the given ID
+ * @return bool Whether a token exists with the given ID
*/
public function hasToken($tokenId);
}