mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-26 06:15:19 +08:00
code style. FOREACH
This commit is contained in:
@ -128,7 +128,7 @@ class LinkPager extends Widget
|
||||
protected function registerLinkTags()
|
||||
{
|
||||
$view = $this->getView();
|
||||
foreach($this->pagination->getLinks() as $rel => $href) {
|
||||
foreach ($this->pagination->getLinks() as $rel => $href) {
|
||||
$view->registerLinkTag(['rel' => $rel, 'href' => $href], $rel);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user