mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-02-07 12:36:25 +00:00
correct deprecation notices
This commit is contained in:
parent
5c31641ea8
commit
823909603a
2 changed files with 1 additions and 1 deletions
|
@ -1075,7 +1075,6 @@ class Controller extends Object implements CakeEventListener {
|
||||||
* @param array $whitelist List of allowed options for paging
|
* @param array $whitelist List of allowed options for paging
|
||||||
* @return array Model query results
|
* @return array Model query results
|
||||||
* @link http://book.cakephp.org/2.0/en/controllers.html#Controller::paginate
|
* @link http://book.cakephp.org/2.0/en/controllers.html#Controller::paginate
|
||||||
* @deprecated Will be removed in 3.0. Use PaginatorComponent instead.
|
|
||||||
*/
|
*/
|
||||||
public function paginate($object = null, $scope = array(), $whitelist = array()) {
|
public function paginate($object = null, $scope = array(), $whitelist = array()) {
|
||||||
return $this->Components->load('Paginator', $this->paginate)->paginate($object, $scope, $whitelist);
|
return $this->Components->load('Paginator', $this->paginate)->paginate($object, $scope, $whitelist);
|
||||||
|
|
|
@ -23,6 +23,7 @@ App::uses('Hash', 'Utility');
|
||||||
* Class used for manipulation of arrays.
|
* Class used for manipulation of arrays.
|
||||||
*
|
*
|
||||||
* @package Cake.Utility
|
* @package Cake.Utility
|
||||||
|
* @deprecated Deprecated since version 2.4, will be removed in 3.0. Use Hash instead.
|
||||||
*/
|
*/
|
||||||
class Set {
|
class Set {
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue