From 035c94012773b2efd7c9b4d8e3fd72128674e724 Mon Sep 17 00:00:00 2001 From: Andrew Ellis Date: Fri, 7 Jan 2011 18:34:51 -0700 Subject: [PATCH] instanceof Kohana_View is now instanceof View. Also made a small PHPDoc. --- classes/kohana/pagination.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/kohana/pagination.php b/classes/kohana/pagination.php index 794573a..e69bd80 100644 --- a/classes/kohana/pagination.php +++ b/classes/kohana/pagination.php @@ -239,7 +239,7 @@ public function render($view = NULL) $view = $this->config['view']; } - if ( ! $view instanceof Kohana_View) + if ( ! $view instanceof View) { // Load the view file $view = View::factory($view); @@ -262,7 +262,7 @@ public function __toString() /** * Returns a Pagination property. * - * @param string URI of the request + * @param string property name * @return mixed Pagination property; NULL if not found */ public function __get($key)