File tree Expand file tree Collapse file tree 2 files changed +12
-4
lines changed
WebapiAsync/Plugin/AsynchronousOperations Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -47,13 +47,17 @@ public function __construct(
47
47
*
48
48
* @param AccountManagementApi $accountManagementApi
49
49
* @param CustomerInterface $customer
50
+ * @param string|null $password
51
+ * @param string $redirectUrl
50
52
* @return void
51
- * @SuppressWarnings(PHPMD.UnusedFormalParameter)
52
53
* @throws AuthorizationException
54
+ * @SuppressWarnings(PHPMD.UnusedFormalParameter)
53
55
*/
54
56
public function beforeCreateAccount (
55
57
AccountManagementApi $ accountManagementApi ,
56
- CustomerInterface $ customer
58
+ CustomerInterface $ customer ,
59
+ string $ password = null ,
60
+ string $ redirectUrl = ''
57
61
): void {
58
62
$ groupId = $ customer ->getGroupId ();
59
63
if (isset ($ groupId ) && !$ this ->authorization ->isAllowed (self ::ADMIN_RESOURCE )) {
Original file line number Diff line number Diff line change @@ -47,14 +47,18 @@ public function __construct(
47
47
* @param MassSchedule $massSchedule
48
48
* @param string $topic
49
49
* @param array $entitiesArray
50
+ * @param string|null $groupId
51
+ * @param string|null $userId
50
52
* @return void
51
53
* @throws AuthorizationException
52
54
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
53
55
*/
54
56
public function beforePublishMass (
55
57
MassSchedule $ massSchedule ,
56
- string $ topic ,
57
- array $ entitiesArray
58
+ string $ topic ,
59
+ array $ entitiesArray ,
60
+ string $ groupId = null ,
61
+ string $ userId = null
58
62
): void {
59
63
foreach ($ entitiesArray as $ entityParams ) {
60
64
foreach ($ entityParams as $ customer ) {
You can’t perform that action at this time.
0 commit comments