Skip to content

Commit 9e86d1d

Browse files
committed
Rename method to setVisibility
1 parent 163cfaa commit 9e86d1d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Controller/Component/ApiPaginationComponent.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public function beforeRender(Event $event)
5252
}
5353

5454
if (!empty($this->config('visible'))) {
55-
$this->setVisible();
55+
$this->setVisibility();
5656
}
5757

5858
$controller->set($this->config('key'), $this->paging);
@@ -80,7 +80,7 @@ protected function setAliases()
8080
*
8181
* @return void
8282
*/
83-
protected function setVisible()
83+
protected function setVisibility()
8484
{
8585
$visible = $this->config('visible');
8686
foreach ($this->paging as $key => $value) {

0 commit comments

Comments
 (0)