From 4e28b18c81a651deee7fd95e606430564b329c1a Mon Sep 17 00:00:00 2001 From: Luciano Baraglia Date: Wed, 17 Jul 2013 02:53:17 -0300 Subject: [PATCH] Doc Fixes --- framework/yii/data/Pagination.php | 2 +- framework/yii/data/Sort.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/yii/data/Pagination.php b/framework/yii/data/Pagination.php index 9496795..8d4c067 100644 --- a/framework/yii/data/Pagination.php +++ b/framework/yii/data/Pagination.php @@ -33,7 +33,7 @@ use yii\base\Object; * ->limit($pages->limit) * ->all(); * - * $this->render('index', array( + * return $this->render('index', array( * 'models' => $models, * 'pages' => $pages, * )); diff --git a/framework/yii/data/Sort.php b/framework/yii/data/Sort.php index a46d0ce..8201ba5 100644 --- a/framework/yii/data/Sort.php +++ b/framework/yii/data/Sort.php @@ -38,7 +38,7 @@ use yii\helpers\Html; * ->orderBy($sort->orders) * ->all(); * - * $this->render('index', array( + * return $this->render('index', array( * 'models' => $models, * 'sort' => $sort, * ));