Merge pull request #671 from ErikDubbelboer/docfix
Fix error in comment.
This commit is contained in:
commit
a6ad5c6dee
|
@ -103,7 +103,7 @@ public static function has($key, $language = null)
|
|||
* $line = Lang::line('validation.required')->get('sp');
|
||||
*
|
||||
* // Return a default value if the line doesn't exist
|
||||
* $line = Lang::line('validation.required', null, 'Default');
|
||||
* $line = Lang::line('validation.required')->get(null, 'Default');
|
||||
* </code>
|
||||
*
|
||||
* @param string $language
|
||||
|
@ -249,4 +249,4 @@ public function __toString()
|
|||
return (string) $this->get();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue