From 7953234a81c787506f314c1c8ed7a74b046598e0 Mon Sep 17 00:00:00 2001 From: ADmad Date: Fri, 4 Apr 2025 10:57:10 +0530 Subject: [PATCH] Fix signature for Table::buildRules Refs cakephp/cakephp#18270 --- en/orm/table-objects.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/en/orm/table-objects.rst b/en/orm/table-objects.rst index f43c13f743..57ffd049cc 100644 --- a/en/orm/table-objects.rst +++ b/en/orm/table-objects.rst @@ -269,10 +269,10 @@ Behaviors, can use this hook to add in validation methods. buildRules ---------- -.. php:method:: buildRules(EventInterface $event, RulesChecker $rules) +.. php:method:: buildRules(RulesChecker $rules): RulesChecker The ``Model.buildRules`` event is fired after a rules instance has been -created and after the table's ``buildRules()`` method has been called. +created and after the ``Table::buildRules()`` method has been called. beforeRules -----------