Skip to content

Commit 0d7c0e6

Browse files
authored
Merge pull request #8009 from cakephp/ADmad-patch-1
Fix signature for Table::buildRules
2 parents 8cf82fb + 7953234 commit 0d7c0e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

en/orm/table-objects.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,10 +269,10 @@ Behaviors, can use this hook to add in validation methods.
269269
buildRules
270270
----------
271271

272-
.. php:method:: buildRules(EventInterface $event, RulesChecker $rules)
272+
.. php:method:: buildRules(RulesChecker $rules): RulesChecker
273273
274274
The ``Model.buildRules`` event is fired after a rules instance has been
275-
created and after the table's ``buildRules()`` method has been called.
275+
created and after the ``Table::buildRules()`` method has been called.
276276

277277
beforeRules
278278
-----------

0 commit comments

Comments
 (0)