From 2a1b5d55ae88d8edd3a56a6eac3f61ce74668548 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Wed, 16 Nov 2011 12:57:20 -0600 Subject: [PATCH] Shorten a long exception message. --- laravel/lang.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/laravel/lang.php b/laravel/lang.php index c2b035f1..217338e3 100644 --- a/laravel/lang.php +++ b/laravel/lang.php @@ -149,7 +149,7 @@ protected function parse($key) return array($segments[0], implode('.', array_slice($segments, 1))); } - throw new \InvalidArgumentException("Invalid language line [$key]. A specific line must be specified."); + throw new \InvalidArgumentException("Invalid language line [$key]."); } /** @@ -188,4 +188,4 @@ public function __toString() return $this->get(); } -} +} \ No newline at end of file