mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Fixing coding style.
This commit is contained in:
parent
207b918b59
commit
c090845117
1 changed files with 8 additions and 8 deletions
|
@ -411,10 +411,10 @@ class ModelTask extends BakeTask {
|
||||||
$this->hr();
|
$this->hr();
|
||||||
|
|
||||||
for ($i = 1, $m = $defaultChoice / 2; $i < $m; $i++) {
|
for ($i = 1, $m = $defaultChoice / 2; $i < $m; $i++) {
|
||||||
$str_aux = sprintf("%2d. %s", $i, $this->_validations[$i]);
|
$strAux = sprintf("%2d. %s", $i, $this->_validations[$i]);
|
||||||
$str_aux = $str_aux.str_repeat(" ", 31 - strlen($str_aux));
|
$strAux = $strAux.str_repeat(" ", 31 - strlen($strAux));
|
||||||
$str_aux .= sprintf("%2d. %s", $m+$i, $this->_validations[$m+$i]);
|
$strAux .= sprintf("%2d. %s", $m + $i, $this->_validations[$m + $i]);
|
||||||
$this->out($str_aux);
|
$this->out($strAux);
|
||||||
}
|
}
|
||||||
$this->out(__d('cake_console', "%s - Do not do any validation on this field.", $defaultChoice));
|
$this->out(__d('cake_console', "%s - Do not do any validation on this field.", $defaultChoice));
|
||||||
$this->hr();
|
$this->hr();
|
||||||
|
|
Loading…
Reference in a new issue