Because `params` here is not from a CakeRequest. It's a valid method `params()` inherited from https://github.com/cakephp/cakephp/blob/master/lib/Cake/View/Helper/PaginatorHelper.php#L126