Shorten a long exception message.

This commit is contained in:
Taylor Otwell
2011-11-16 12:57:20 -06:00
parent 8c8ff5fac7
commit 2a1b5d55ae

View File

@@ -149,7 +149,7 @@ class Lang {
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 @@ class Lang {
return $this->get();
}
}
}