diff --git a/lib/private/session/cryptowrapper.php b/lib/private/session/cryptowrapper.php index 261514d683e720b970d30bdd2069d5b5f07f6f3e..70c1dab7404bfba0a470f68fc6a7a035b795d0a0 100644 --- a/lib/private/session/cryptowrapper.php +++ b/lib/private/session/cryptowrapper.php @@ -39,7 +39,7 @@ use OCP\Security\ISecureRandom; * it as an additional small security obfuscation layer to comply with compliance * guidelines. * - * TODO: Remove this in a future relase with an approach such as + * TODO: Remove this in a future release with an approach such as * https://github.com/owncloud/core/pull/17866 * * @package OC\Session diff --git a/lib/private/session/internal.php b/lib/private/session/internal.php index 8ee212721041f52076b3629079f7c51682850238..e10999ec48fd8dba335735d71b8d96e9686d8c87 100644 --- a/lib/private/session/internal.php +++ b/lib/private/session/internal.php @@ -106,7 +106,7 @@ class Internal extends Session { private function validateSession() { if ($this->sessionClosed) { - throw new \Exception('Session has been closed - no further changes to the session as allowed'); + throw new \Exception('Session has been closed - no further changes to the session are allowed'); } } } diff --git a/lib/private/session/memory.php b/lib/private/session/memory.php index 1cae62e44d36dd4ec44f0cdcfd3b3fbeaf9b9844..0fc9165c7cd940b63fa0e901821c7d404661adda 100644 --- a/lib/private/session/memory.php +++ b/lib/private/session/memory.php @@ -93,7 +93,7 @@ class Memory extends Session { */ private function validateSession() { if ($this->sessionClosed) { - throw new \Exception('Session has been closed - no further changes to the session as allowed'); + throw new \Exception('Session has been closed - no further changes to the session are allowed'); } } }