mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-03-18 23:49:55 +00:00
Update ControllerTask.php
Updated if statement for clarity and also fixed spelling mistake.
This commit is contained in:
parent
d41bb0b1b3
commit
0214ac403e
1 changed files with 2 additions and 2 deletions
|
@ -128,8 +128,8 @@ class ControllerTask extends BakeTask {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($controllersCreated === 0) {
|
if (!$controllersCreated) {
|
||||||
$this->out(__d('cake_console', 'No Controllers were baked, Models need to exisit before Controllers can be baked.', $admin));
|
$this->out(__d('cake_console', 'No Controllers were baked, Models need to exist before Controllers can be baked.', $admin));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue