Browse Source

fix error in comment

Signed-off-by: Erik Dubbelboer <erik@dubbelboer.com>
Erik Dubbelboer 12 years ago
parent
commit
11b9f52239
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();
 	}
 
-}
+}