Commit 498a83ab authored by Taylor Otwell's avatar Taylor Otwell

Merge pull request #140 from paulboco/develop

Change attributes in paginator to public and fix issue #141
parents 97a3f33c fb25edd0
...@@ -14,28 +14,28 @@ class Paginator { ...@@ -14,28 +14,28 @@ class Paginator {
* *
* @var int * @var int
*/ */
protected $page; public $page;
/** /**
* The last page available for the result set. * The last page available for the result set.
* *
* @var int * @var int
*/ */
protected $last; public $last;
/** /**
* The total number of results. * The total number of results.
* *
* @var int * @var int
*/ */
protected $total; public $total;
/** /**
* The number of items per page. * The number of items per page.
* *
* @var int * @var int
*/ */
protected $per_page; public $per_page;
/** /**
* The values that should be appended to the end of the link query strings. * The values that should be appended to the end of the link query strings.
......
...@@ -112,7 +112,7 @@ class Auth { ...@@ -112,7 +112,7 @@ class Auth {
* and their user ID will be stored in the session via the "login" method. * and their user ID will be stored in the session via the "login" method.
* *
* The user may also be "remembered", which will keep the user logged into the * The user may also be "remembered", which will keep the user logged into the
* application for one year or until they logout. The user is rememberd via * application for one year or until they logout. The user is remembered via
* an encrypted cookie. * an encrypted cookie.
* *
* @param string $username * @param string $username
...@@ -128,7 +128,7 @@ class Auth { ...@@ -128,7 +128,7 @@ class Auth {
if ( ! is_null($user)) if ( ! is_null($user))
{ {
static::login($user, $config, $remember); static::login($user, $remember);
return true; return true;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment