We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e43681b commit 99eff6fCopy full SHA for 99eff6f
src/Controller/Component/ApiPaginationComponent.php
@@ -78,8 +78,7 @@ public function beforeRender(Event $event)
78
*/
79
protected function setAliases()
80
{
81
- $aliases = $this->config('aliases');
82
- foreach ($aliases as $key => $value) {
+ foreach ($this->config('aliases') as $key => $value) {
83
$this->pagingInfo[$value] = $this->pagingInfo[$key];
84
unset($this->pagingInfo[$key]);
85
}
0 commit comments