mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
Change var -> public in controllertask.
Makes the confirmation message and generated code the same. Fixes #2216
This commit is contained in:
parent
3fa0bdb60f
commit
aae8a89623
1 changed files with 1 additions and 1 deletions
|
@ -219,7 +219,7 @@ class ControllerTask extends BakeTask {
|
|||
$this->out(__d('cake_console', "Controller Name:\n\t%s", $controllerName));
|
||||
|
||||
if (strtolower($useDynamicScaffold) == 'y') {
|
||||
$this->out("var \$scaffold;");
|
||||
$this->out("public \$scaffold;");
|
||||
}
|
||||
|
||||
$properties = array(
|
||||
|
|
Loading…
Add table
Reference in a new issue