mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Fixing code formating
This commit is contained in:
parent
0471ea046f
commit
9b040a5ed3
1 changed files with 5 additions and 2 deletions
|
@ -109,9 +109,12 @@ class Contact extends CakeTestModel {
|
|||
'imrequiredtoo' => array('rule' => 'notEmpty'),
|
||||
'required_one' => array('required' => array('rule' => array('notEmpty'))),
|
||||
'imnotrequired' => array('required' => false, 'rule' => 'alphaNumeric', 'allowEmpty' => true),
|
||||
'imalsonotrequired' => array('alpha' => array('rule' => 'alphaNumeric','allowEmpty' => true),
|
||||
'imalsonotrequired' => array(
|
||||
'alpha' => array('rule' => 'alphaNumeric','allowEmpty' => true),
|
||||
'between' => array('rule' => array('between', 5, 30)),
|
||||
),
|
||||
'imnotrequiredeither' => array('required' => true, 'rule' => array('between', 5, 30), 'allowEmpty' => true),
|
||||
'between' => array('rule' => array('between', 5, 30))));
|
||||
);
|
||||
|
||||
/**
|
||||
* schema method
|
||||
|
|
Loading…
Reference in a new issue