@@ -27,6 +27,8 @@ final class NetsEasyPaymentHandler extends JobTypeBase implements ContainerFacto
27
27
28
28
/**
29
29
* {@inheritdoc}
30
+ *
31
+ * @param array<mixed> $configuration
30
32
*/
31
33
public function __construct (
32
34
array $ configuration ,
@@ -41,6 +43,8 @@ public function __construct(
41
43
42
44
/**
43
45
* {@inheritdoc}
46
+ *
47
+ * @param array<mixed> $configuration
44
48
*/
45
49
public static function create (ContainerInterface $ container , array $ configuration , $ plugin_id , $ plugin_definition ) {
46
50
return new NetsEasyPaymentHandler (
@@ -67,7 +71,7 @@ public function process(Job $job): JobResult {
67
71
$ payload = $ job ->getPayload ();
68
72
$ stage = $ payload ['processing_stage ' ] ?? 0 ;
69
73
70
- /** @var \Drupal\webform\Entity\ WebformSubmissionInterface $webformSubmission */
74
+ /** @var \Drupal\webform\WebformSubmissionInterface $webformSubmission */
71
75
$ webformSubmission = WebformSubmission::load ($ payload ['submissionId ' ]);
72
76
73
77
$ logger_context = [
@@ -107,9 +111,9 @@ public function process(Job $job): JobResult {
107
111
*
108
112
* @param \Drupal\advancedqueue\Job $job
109
113
* The job object containing payload information.
110
- * @param \Drupal\webform\Entity\ WebformSubmissionInterface $webformSubmission
114
+ * @param \Drupal\webform\WebformSubmissionInterface $webformSubmission
111
115
* The webform submission related to the payment.
112
- * @param array $logger_context
116
+ * @param array<mixed> $logger_context
113
117
* Context for logging.
114
118
*
115
119
* @throws \Drupal\os2forms_payment\Exception\RuntimeException
@@ -161,9 +165,9 @@ private function getPaymentAndSetRelevantValues(Job $job, WebformSubmissionInter
161
165
*
162
166
* @param \Drupal\advancedqueue\Job $job
163
167
* The job object containing payload information.
164
- * @param \Drupal\webform\Entity\ WebformSubmissionInterface $webformSubmission
168
+ * @param \Drupal\webform\WebformSubmissionInterface $webformSubmission
165
169
* The webform submission related to the payment.
166
- * @param array $logger_context
170
+ * @param array<mixed> $logger_context
167
171
* Context for logging.
168
172
*
169
173
* @throws \Drupal\os2forms_payment\Exception\RuntimeException
@@ -199,9 +203,9 @@ private function updatePaymentReference(Job $job, WebformSubmissionInterface $we
199
203
*
200
204
* @param \Drupal\advancedqueue\Job $job
201
205
* The job object containing payload information.
202
- * @param \Drupal\webform\Entity\ WebformSubmissionInterface $webformSubmission
206
+ * @param \Drupal\webform\WebformSubmissionInterface $webformSubmission
203
207
* The webform submission related to the payment.
204
- * @param array $logger_context
208
+ * @param array<mixed> $logger_context
205
209
* Context for logging.
206
210
*
207
211
* @throws \Exception
0 commit comments