user-management
user-management copied to clipboard
PHP Notice on permissions save for PHP 7.4
Need to remove unused compact
argument
https://github.com/webvimark/user-management/pull/216
Probably the owner of this repository will not respond, it has been since 2016 without any activity on GitHub.
add variable $throwException = '';
public static function beforeRemoveChildren($parentName, $childrenNames) { $throwException = ''; $event = new AbstractItemEvent(compact('parentName', 'childrenNames', 'throwException')); $event->trigger(get_called_class(), self::EVENT_BEFORE_REMOVE_CHILDREN, $event); }