Shorten a long exception message.
This commit is contained in:
parent
8c8ff5fac7
commit
2a1b5d55ae
|
@ -149,7 +149,7 @@ protected function parse($key)
|
||||||
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 @@ public function __toString()
|
||||||
return $this->get();
|
return $this->get();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue