File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -256,15 +256,15 @@ public function afterDelete()
256256 AuthHelper::invalidatePermissions ();
257257 }
258258
259- public function beforeAddChildren ($ parentName , $ childrenNames , $ throwException = false )
259+ public static function beforeAddChildren ($ parentName , $ childrenNames , $ throwException = false )
260260 {
261261 $ event = new AbstractItemEvent (compact ('parentName ' , 'childrenNames ' , 'throwException ' ));
262262 $ event ->trigger (get_called_class (), self ::EVENT_BEFORE_ADD_CHILDREN , $ event );
263263 }
264264
265- public function beforeRemoveChildren ($ parentName , $ childrenNames )
265+ public static function beforeRemoveChildren ($ parentName , $ childrenNames )
266266 {
267267 $ event = new AbstractItemEvent (compact ('parentName ' , 'childrenNames ' , 'throwException ' ));
268268 $ event ->trigger (get_called_class (), self ::EVENT_BEFORE_REMOVE_CHILDREN , $ event );
269269 }
270- }
270+ }
You can’t perform that action at this time.
0 commit comments