Skip to content

Commit 11b9f52

Browse files
fix error in comment
Signed-off-by: Erik Dubbelboer <erik@dubbelboer.com>
1 parent d417eb5 commit 11b9f52

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

laravel/lang.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public static function has($key, $language = null)
103103
* $line = Lang::line('validation.required')->get('sp');
104104
*
105105
* // Return a default value if the line doesn't exist
106-
* $line = Lang::line('validation.required', null, 'Default');
106+
* $line = Lang::line('validation.required')->get(null, 'Default');
107107
* </code>
108108
*
109109
* @param string $language
@@ -249,4 +249,4 @@ public function __toString()
249249
return (string) $this->get();
250250
}
251251

252-
}
252+
}

0 commit comments

Comments
 (0)