From d392365a1bc372c47be9a59b5ee37ecb87213e1e Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Wed, 23 Nov 2011 08:17:19 -0600 Subject: [PATCH] Trim an exception message in the crypter. --- laravel/crypter.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/laravel/crypter.php b/laravel/crypter.php index bb5435aa..c6e3e2e4 100644 --- a/laravel/crypter.php +++ b/laravel/crypter.php @@ -62,7 +62,7 @@ public static function decrypt($value) { 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()); @@ -92,4 +92,4 @@ protected static function key() return Config::$items['application']['key']; } -} +} \ No newline at end of file