mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +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) {
|
||||
$this->out(__d('cake_console', 'No Controllers were baked, Models need to exisit before Controllers can be baked.', $admin));
|
||||
if (!$controllersCreated) {
|
||||
$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