Skip to content
Permalink
Browse files

Update signature of Paginator::getConfig()

  • Loading branch information...
ADmad committed Aug 5, 2017
1 parent 47f2a3c commit 8e1aca333e116eb6d235a7c6915f9521c0a4c74d
Showing with 3 additions and 2 deletions.
  1. +3 −2 src/Controller/Component/PaginatorComponent.php
@@ -313,11 +313,12 @@ public function setConfig($key, $value = null, $merge = true)
* Proxy getting config options to Paginator.
*
* @param string|null $key The key to get or null for the whole config.
* @param mixed $default The return value when the key does not exist.
* @return mixed Config value being read.
*/
public function getConfig($key = null)
public function getConfig($key = null, $default = null)
{
return $this->_paginator->getConfig($key);
return $this->_paginator->getConfig($key, $default);
}
/**

0 comments on commit 8e1aca3

Please sign in to comment.
You can’t perform that action at this time.