From 6eae4c982b11e37e38120bbf2d33f1fe4b2cf2de Mon Sep 17 00:00:00 2001 From: Paul Boco Date: Sun, 6 Nov 2011 00:30:40 -0500 Subject: [PATCH 1/2] Change attributes from protected to public. --- laravel/paginator.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/laravel/paginator.php b/laravel/paginator.php index 9c039498..1ac36c85 100644 --- a/laravel/paginator.php +++ b/laravel/paginator.php @@ -14,28 +14,28 @@ class Paginator { * * @var int */ - protected $page; + public $page; /** * The last page available for the result set. * * @var int */ - protected $last; + public $last; /** * The total number of results. * * @var int */ - protected $total; + public $total; /** * The number of items per page. * * @var int */ - protected $per_page; + public $per_page; /** * The values that should be appended to the end of the link query strings. From fb25edd0b14af38c9144ce9fffd0bd568b3853bb Mon Sep 17 00:00:00 2001 From: Paul Boco Date: Sun, 6 Nov 2011 11:39:52 -0600 Subject: [PATCH 2/2] Fixes issue #141 and a typo. --- laravel/security/auth.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/laravel/security/auth.php b/laravel/security/auth.php index 224edfde..7ab50922 100644 --- a/laravel/security/auth.php +++ b/laravel/security/auth.php @@ -112,7 +112,7 @@ protected static function recall($cookie) * 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 - * 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. * * @param string $username @@ -128,7 +128,7 @@ public static function attempt($username, $password = null, $remember = false) if ( ! is_null($user)) { - static::login($user, $config, $remember); + static::login($user, $remember); return true; }