Shorten a long exception message.
This commit is contained in:
@@ -149,7 +149,7 @@ class Lang {
|
|||||||
return array($segments[0], implode('.', array_slice($segments, 1)));
|
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();
|
return $this->get();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user