Browse Source

Merge pull request #671 from ErikDubbelboer/docfix

Fix error in comment.
Taylor Otwell 12 years ago
parent
commit
a6ad5c6dee
1 changed files with 2 additions and 2 deletions
  1. 2 2
      laravel/lang.php

+ 2 - 2
laravel/lang.php

@@ -103,7 +103,7 @@ class Lang {
 	 *		$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 @@ class Lang {
 		return (string) $this->get();
 	}
 
-}
+}