mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-02-07 12:36:25 +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));
|
$this->out(__d('cake_console', "Controller Name:\n\t%s", $controllerName));
|
||||||
|
|
||||||
if (strtolower($useDynamicScaffold) == 'y') {
|
if (strtolower($useDynamicScaffold) == 'y') {
|
||||||
$this->out("var \$scaffold;");
|
$this->out("public \$scaffold;");
|
||||||
}
|
}
|
||||||
|
|
||||||
$properties = array(
|
$properties = array(
|
||||||
|
|
Loading…
Add table
Reference in a new issue