mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Changing error message.
This commit is contained in:
parent
56292b658c
commit
8ee158226a
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@ class ConsoleInputOption {
|
|||
}
|
||||
if (!in_array($value, $this->_choices)) {
|
||||
throw new InvalidArgumentException(
|
||||
sprintf(__('"%s" is not a valid option for --%s'), $value, $this->_name)
|
||||
sprintf(__('"%s" is not a valid value for --%s'), $value, $this->_name)
|
||||
);
|
||||
}
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue