Skip to content

Commit

Permalink
Merge pull request #7930 from MolbioUnige/patch-2
Browse files Browse the repository at this point in the history
Update validation.rst
  • Loading branch information
dereuromark authored Oct 17, 2024
2 parents 8b53b38 + db0ccec commit 8af2578
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion en/orm/validation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ class::
// In a table class
public function buildRules(RulesChecker $rules): RulesChecker
{
// Add a rule that is applied for create and update operations
// Add a rule that is applied for create, update and delete operations
$rules->add(function ($entity, $options) {
// Return a boolean to indicate pass/failure
}, 'ruleName');
Expand Down

0 comments on commit 8af2578

Please sign in to comment.