| @@ -25,8 +25,9 @@ | ||
| 25 | 25 | public function __construct( |
| 26 | 26 | private WordpressCli $wordpressCli, |
| 27 | 27 | private UserGroupHandler $userGroupHandler |
| 28 | 28 | ) { |
| 29 | + parent::__construct(); | |
| 29 | 30 | } |
| 30 | 31 | |
| 31 | 32 | /** |
| 32 | 33 | * Converts the string to and associative an array of index and group |
| @@ -57,9 +58,9 @@ | ||
| 57 | 58 | */ |
| 58 | 59 | private function getAddRemoveUserGroups( |
| 59 | 60 | string $operation, |
| 60 | 61 | string $objectType, |
| 61 | - int|string|null $objectId, | |
| 62 | + int|string $objectId, | |
| 62 | 63 | array $userGroupIds, |
| 63 | 64 | array $userGroups, |
| 64 | 65 | ?array &$addUserGroups = [], |
| 65 | 66 | ?array &$removeUserGroups = [] |