Fix spacing on Auth doc code examples.

This commit is contained in:
Taylor Otwell 2011-08-09 14:21:51 -05:00
parent 7da624e0d9
commit 0e39941632
1 changed files with 9 additions and 9 deletions

View File

@ -31,10 +31,10 @@ class Auth {
* Determine if the current user of the application is authenticated. * Determine if the current user of the application is authenticated.
* *
* <code> * <code>
* if (Auth::check()) * if (Auth::check())
* { * {
* // The user is logged in... * // The user is logged in...
* } * }
* </code> * </code>
* *
* @return bool * @return bool
@ -53,7 +53,7 @@ public static function check()
* of the closure will be cached and returned. * of the closure will be cached and returned.
* *
* <code> * <code>
* $email = Auth::user()->email; * $email = Auth::user()->email;
* </code> * </code>
* *
* @return object * @return object
@ -79,10 +79,10 @@ public static function user()
* by the Hash class when authenticating. * by the Hash class when authenticating.
* *
* <code> * <code>
* if (Auth::login('test@gmail.com', 'secret')) * if (Auth::login('test@gmail.com', 'secret'))
* { * {
* // The credentials are valid... * // The credentials are valid...
* } * }
* </code> * </code>
* *
* @param string $username * @param string $username