diff --git a/framework/yii/data/Pagination.php b/framework/yii/data/Pagination.php
index <HASH>..<HASH> 100644
--- a/framework/yii/data/Pagination.php
+++ b/framework/yii/data/Pagination.php
@@ -48,7 +48,7 @@ use yii\base\Object;
  * }
  *
  * // display pagination
- * LinkPager::widget(array(
+ * echo LinkPager::widget(array(
  *     'pagination' => $pages,
  * ));
  * ~~~
Add echo into docs for link pager

I'm not sure if echo should be mentioned, but without the echo before the LinkPager::widget() the user would see nothing.