Skip to content

Commit

Permalink
Fix wording in error message.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Mar 8, 2017
1 parent 37f1434 commit 2bc9b72
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Http/Cookie/CookieCryptTrait.php
Expand Up @@ -132,9 +132,7 @@ protected function _encrypt($value)

$encrypt = $this->encryptionCipher;
if ($encrypt === false) {
throw new RuntimeException(
'Encryption is disable, no cipher given.'
);
throw new RuntimeException('Encryption is disabled, no cipher provided.');
}

$cipher = null;
Expand Down

0 comments on commit 2bc9b72

Please sign in to comment.