Update LinkPager.php

https://github.com/yiisoft/yii2/issues/3111