diff --git a/system/messages.php b/system/messages.php index f6fe0f85..43fa8b37 100644 --- a/system/messages.php +++ b/system/messages.php @@ -70,10 +70,7 @@ public function first($key, $format = ':message') */ public function get($key = null, $format = ':message') { - if (is_null($key)) - { - return $this->all($format); - } + if (is_null($key)) return $this->all($format); return (array_key_exists($key, $this->messages)) ? $this->format($this->messages[$key], $format) : array(); }