Skip to content

Commit ca43c6a

Browse files
committed
Fixing validation syntax with a semicolon on wrong place
1 parent a74e74a commit ca43c6a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ORM/Table.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -924,8 +924,8 @@ public function updateAll($fields, $conditions) {
924924
* public function validationForSubscription($validator) {
925925
* return $validator
926926
* ->add('email', 'valid-email', ['rule' => 'email'])
927-
* ->add('password', 'valid', ['rule' => 'notEmpty']);
928-
* ->validatePresence('username')
927+
* ->add('password', 'valid', ['rule' => 'notEmpty'])
928+
* ->validatePresence('username');
929929
* }
930930
* }}}
931931
*

0 commit comments

Comments
 (0)