@@ -174,7 +174,7 @@ public function afterSaveCommit(Event $event, EntityInterface $entity, ArrayObje
174174
175175### initialize
176176
177- ` method ` Cake\\ ORM\\ Table::** initialize** (EventInterface $event, ArrayObject $data, ArrayObject $options)
177+ ` method ` Cake\\ ORM\\ Table::** initialize** (EventInterface $event, ArrayObject $data, ArrayObject $options): void
178178
179179The ` Model.initialize ` event is fired after the constructor and initialize
180180methods are called. The ` Table ` classes do not listen to this event by
@@ -214,22 +214,22 @@ This will call the `initializeEvent` when any `Table` class is constructed.
214214
215215### beforeMarshal
216216
217- ` method ` Cake\\ ORM\\ Table::** beforeMarshal** (EventInterface $event, ArrayObject $data, ArrayObject $options)
217+ ` method ` Cake\\ ORM\\ Table::** beforeMarshal** (EventInterface $event, ArrayObject $data, ArrayObject $options): void
218218
219219The ` Model.beforeMarshal ` event is fired before request data is converted
220220into entities. See the [ Before Marshal] ( ../orm/saving-data#before-marshal ) documentation for more information.
221221
222222### afterMarshal
223223
224- ` method ` Cake\\ ORM\\ Table::** afterMarshal** (EventInterface $event, EntityInterface $entity, ArrayObject $data, ArrayObject $options)
224+ ` method ` Cake\\ ORM\\ Table::** afterMarshal** (EventInterface $event, EntityInterface $entity, ArrayObject $data, ArrayObject $options): void
225225
226226The ` Model.afterMarshal ` event is fired after request data is converted
227227into entities. Event handlers will get the converted entities, original request
228228data and the options provided to the ` patchEntity() ` or ` newEntity() ` call.
229229
230230### beforeFind
231231
232- ` method ` Cake\\ ORM\\ Table::** beforeFind** (EventInterface $event, SelectQuery $query, ArrayObject $options, boolean $primary)
232+ ` method ` Cake\\ ORM\\ Table::** beforeFind** (EventInterface $event, SelectQuery $query, ArrayObject $options, boolean $primary): void
233233
234234The ` Model.beforeFind ` event is fired before each find operation. By stopping
235235the event, and feeding the query with a custom result set, you can bypass the find
@@ -266,7 +266,7 @@ been replaced with the [Map Reduce](../orm/retrieving-data-and-resultsets#map-re
266266
267267### buildValidator
268268
269- ` method ` Cake\\ ORM\\ Table::** buildValidator** (EventInterface $event, Validator $validator, $name)
269+ ` method ` Cake\\ ORM\\ Table::** buildValidator** (EventInterface $event, Validator $validator, $name): void
270270
271271The ` Model.buildValidator ` event is fired when ` $name ` validator is created.
272272Behaviors, can use this hook to add in validation methods.
@@ -280,37 +280,37 @@ created and after the `Table::buildRules()` method has been called.
280280
281281### beforeRules
282282
283- ` method ` Cake\\ ORM\\ Table::** beforeRules** (EventInterface $event, EntityInterface $entity, ArrayObject $options, $operation)
283+ ` method ` Cake\\ ORM\\ Table::** beforeRules** (EventInterface $event, EntityInterface $entity, ArrayObject $options, $operation): void
284284
285285The ` Model.beforeRules ` event is fired before an entity has had rules applied. By
286286stopping this event, you can halt the rules checking and set the result
287287of applying rules.
288288
289289### afterRules
290290
291- ` method ` Cake\\ ORM\\ Table::** afterRules** (EventInterface $event, EntityInterface $entity, ArrayObject $options, $result, $operation)
291+ ` method ` Cake\\ ORM\\ Table::** afterRules** (EventInterface $event, EntityInterface $entity, ArrayObject $options, $result, $operation): void
292292
293293The ` Model.afterRules ` event is fired after an entity has rules applied. By
294294stopping this event, you can return the final value of the rules checking
295295operation.
296296
297297### beforeSave
298298
299- ` method ` Cake\\ ORM\\ Table::** beforeSave** (EventInterface $event, EntityInterface $entity, ArrayObject $options)
299+ ` method ` Cake\\ ORM\\ Table::** beforeSave** (EventInterface $event, EntityInterface $entity, ArrayObject $options): void
300300
301301The ` Model.beforeSave ` event is fired before each entity is saved. Stopping
302302this event will abort the save operation. When the event is stopped the result
303303of the event will be returned.
304304
305305### afterSave
306306
307- ` method ` Cake\\ ORM\\ Table::** afterSave** (EventInterface $event, EntityInterface $entity, ArrayObject $options)
307+ ` method ` Cake\\ ORM\\ Table::** afterSave** (EventInterface $event, EntityInterface $entity, ArrayObject $options): void
308308
309309The ` Model.afterSave ` event is fired after an entity is saved.
310310
311311### afterSaveCommit
312312
313- ` method ` Cake\\ ORM\\ Table::** afterSaveCommit** (EventInterface $event, EntityInterface $entity, ArrayObject $options)
313+ ` method ` Cake\\ ORM\\ Table::** afterSaveCommit** (EventInterface $event, EntityInterface $entity, ArrayObject $options): void
314314
315315The ` Model.afterSaveCommit ` event is fired after the transaction in which the
316316save operation is wrapped has been committed. It's also triggered for non atomic
@@ -320,21 +320,21 @@ not triggered if a transaction is started before calling save.
320320
321321### beforeDelete
322322
323- ` method ` Cake\\ ORM\\ Table::** beforeDelete** (EventInterface $event, EntityInterface $entity, ArrayObject $options)
323+ ` method ` Cake\\ ORM\\ Table::** beforeDelete** (EventInterface $event, EntityInterface $entity, ArrayObject $options): void
324324
325325The ` Model.beforeDelete ` event is fired before an entity is deleted. By
326326stopping this event you will abort the delete operation. When the event is stopped the result
327327of the event will be returned.
328328
329329### afterDelete
330330
331- ` method ` Cake\\ ORM\\ Table::** afterDelete** (EventInterface $event, EntityInterface $entity, ArrayObject $options)
331+ ` method ` Cake\\ ORM\\ Table::** afterDelete** (EventInterface $event, EntityInterface $entity, ArrayObject $options): void
332332
333333The ` Model.afterDelete ` event is fired after an entity has been deleted.
334334
335335### afterDeleteCommit
336336
337- ` method ` Cake\\ ORM\\ Table::** afterDeleteCommit** (EventInterface $event, EntityInterface $entity, ArrayObject $options)
337+ ` method ` Cake\\ ORM\\ Table::** afterDeleteCommit** (EventInterface $event, EntityInterface $entity, ArrayObject $options): void
338338
339339The ` Model.afterDeleteCommit ` event is fired after the transaction in which the
340340delete operation is wrapped has been is committed. It's also triggered for non
0 commit comments