mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-05 11:02:40 +00:00
Add missing visibility keywords
This commit is contained in:
parent
a9c279aab0
commit
45ec5d73c5
34 changed files with 74 additions and 74 deletions
|
@ -90,7 +90,7 @@ class TestScaffoldMock extends Scaffold {
|
|||
*
|
||||
* @param unknown_type $params
|
||||
*/
|
||||
function _scaffold(CakeRequest $request) {
|
||||
protected function _scaffold(CakeRequest $request) {
|
||||
$this->_params = $request;
|
||||
}
|
||||
|
||||
|
@ -99,7 +99,7 @@ class TestScaffoldMock extends Scaffold {
|
|||
*
|
||||
* @return unknown
|
||||
*/
|
||||
function getParams() {
|
||||
public function getParams() {
|
||||
return $this->_params;
|
||||
}
|
||||
}
|
||||
|
@ -277,7 +277,7 @@ class ScaffoldTest extends CakeTestCase {
|
|||
*
|
||||
* @return void
|
||||
*/
|
||||
function testHabtmFieldAdditionWithScaffoldForm() {
|
||||
public function testHabtmFieldAdditionWithScaffoldForm() {
|
||||
CakePlugin::unload();
|
||||
$params = array(
|
||||
'plugin' => null,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue