refactoring routing and comments.
This commit is contained in:
@@ -93,7 +93,12 @@ class Messages {
|
||||
{
|
||||
if (is_null($key)) return $this->all($format);
|
||||
|
||||
return (array_key_exists($key, $this->messages)) ? $this->format($this->messages[$key], $format) : array();
|
||||
if (array_key_exists($key, $this->messages))
|
||||
{
|
||||
return $this->format($this->messages[$key], $format);
|
||||
}
|
||||
|
||||
return array();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user