Fix spacing on Auth doc code examples.
This commit is contained in:
parent
7da624e0d9
commit
0e39941632
|
@ -31,10 +31,10 @@ class Auth {
|
|||
* Determine if the current user of the application is authenticated.
|
||||
*
|
||||
* <code>
|
||||
* if (Auth::check())
|
||||
* {
|
||||
* // The user is logged in...
|
||||
* }
|
||||
* if (Auth::check())
|
||||
* {
|
||||
* // The user is logged in...
|
||||
* }
|
||||
* </code>
|
||||
*
|
||||
* @return bool
|
||||
|
@ -53,7 +53,7 @@ public static function check()
|
|||
* of the closure will be cached and returned.
|
||||
*
|
||||
* <code>
|
||||
* $email = Auth::user()->email;
|
||||
* $email = Auth::user()->email;
|
||||
* </code>
|
||||
*
|
||||
* @return object
|
||||
|
@ -79,10 +79,10 @@ public static function user()
|
|||
* by the Hash class when authenticating.
|
||||
*
|
||||
* <code>
|
||||
* if (Auth::login('test@gmail.com', 'secret'))
|
||||
* {
|
||||
* // The credentials are valid...
|
||||
* }
|
||||
* if (Auth::login('test@gmail.com', 'secret'))
|
||||
* {
|
||||
* // The credentials are valid...
|
||||
* }
|
||||
* </code>
|
||||
*
|
||||
* @param string $username
|
||||
|
|
Loading…
Reference in New Issue