Commit d392365a authored by Taylor Otwell's avatar Taylor Otwell

Trim an exception message in the crypter.

parent 9c6d4871
...@@ -62,7 +62,7 @@ class Crypter { ...@@ -62,7 +62,7 @@ class Crypter {
{ {
if (($value = base64_decode($value)) === false) if (($value = base64_decode($value)) === false)
{ {
throw new \InvalidArgumentException('Decryption error. Input value is not valid base64 data.'); throw new \InvalidArgumentException('Input value is not valid base64 data.');
} }
$iv = substr($value, 0, static::iv_size()); $iv = substr($value, 0, static::iv_size());
...@@ -92,4 +92,4 @@ class Crypter { ...@@ -92,4 +92,4 @@ class Crypter {
return Config::$items['application']['key']; return Config::$items['application']['key'];
} }
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment