Merge pull request #671 from ErikDubbelboer/docfix

Fix error in comment.
This commit is contained in:
Taylor Otwell 2012-05-16 14:15:23 -07:00
commit a6ad5c6dee
1 changed files with 2 additions and 2 deletions

View File

@ -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();
}
}
}