Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add undocumented properties (#12717)
See https://book.cakephp.org/2.0/en/controllers/request-response.html#accessing-request-parameters and https://api.cakephp.org/2.10/source-class-UpgradeShell.html#345-403 * Initialize $params to null * Document more magic properties, trigger deprecated notices * Use $controller->request->params instead $controller->params * Remove unused variable * Improve documentation, add type checks. * It seems like $this->uses can also be of type false; however, parameter $array of array_unshift() does only seem to accept array. * Declare undeclared property * Add extra type checks * Adjust type check * Improve documentation, initiate uninitialized variables. * Improve documentation, reset variable
- Loading branch information
Showing
5 changed files
with
43 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters