Skip to content
This repository was archived by the owner on Nov 27, 2023. It is now read-only.

Commit 287d9ef

Browse files
committed
DW-553: Cleaned up
1 parent 77db51a commit 287d9ef

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/Helper/WebformHelper.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public function getTemplateContext(WebformSubmissionInterface $webformSubmission
102102
return [
103103
'label' => $webform->label(),
104104
'recipient' => $recipient,
105-
'submission' => $webformSubmissionRendered
105+
'submission' => $webformSubmissionRendered,
106106
];
107107
}
108108

@@ -114,7 +114,8 @@ public function getTemplateContext(WebformSubmissionInterface $webformSubmission
114114
* @param array $handlerConfiguration
115115
* Handler config.
116116
*
117-
* @throws CprElementNotFoundInSubmissionException
117+
* @throws \Drupal\os2forms_digital_post\Exception\CprElementNotFoundInSubmissionException
118+
* @throws \Drupal\os2forms_digital_post\Exception\SubmissionNotFoundException
118119
* @throws \Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException
119120
* @throws \Drupal\Component\Plugin\Exception\PluginNotFoundException
120121
* @throws \ItkDev\Serviceplatformen\Service\Exception\ServiceException
@@ -196,4 +197,5 @@ private function getSubmission(string $submissionId) {
196197
$storage = $this->entityTypeManager->getStorage('webform_submission');
197198
return $storage->load($submissionId);
198199
}
200+
199201
}

src/Plugin/AdvancedQueue/JobType/SendDigitalPost.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,4 +67,3 @@ public function process(Job $job): JobResult {
6767
}
6868

6969
}
70-

src/Plugin/WebformHandler/DigitalPostWebformHandler.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
use Drupal\advancedqueue\Job;
66
use Drupal\Core\Form\FormStateInterface;
77
use Drupal\Core\Render\Element;
8-
use Drupal\os2forms_digital_post\Exception\CprElementNotFoundInSubmissionException;
98
use Drupal\os2forms_digital_post\Plugin\AdvancedQueue\JobType\SendDigitalPost;
109
use Drupal\webform\Plugin\WebformHandlerBase;
1110
use Drupal\webform\WebformInterface;

0 commit comments

Comments
 (0)