diff --git a/modules/os2forms_fasit/src/Helper/FasitHelper.php b/modules/os2forms_fasit/src/Helper/FasitHelper.php index fb1b686..9b4e0c2 100644 --- a/modules/os2forms_fasit/src/Helper/FasitHelper.php +++ b/modules/os2forms_fasit/src/Helper/FasitHelper.php @@ -35,11 +35,11 @@ class FasitHelper { ]; public function __construct( - private readonly ClientInterface $client, - private readonly EntityTypeManagerInterface $entityTypeManager, - private readonly Settings $settings, - private readonly CertificateLocatorHelper $certificateLocator, - private readonly Logger $auditLogger, + private readonly ClientInterface $client, + private readonly EntityTypeManagerInterface $entityTypeManager, + private readonly Settings $settings, + private readonly CertificateLocatorHelper $certificateLocator, + private readonly Logger $auditLogger, ) { } @@ -329,7 +329,7 @@ private function uploadAttachment(string $submissionId, array $handlerConfigurat * The temp filename. * @param string $webformId * The webform id. - * + * * @throws \Drupal\os2forms_fasit\Exception\CertificateLocatorException * Certificate locator exception. * @throws \Drupal\os2forms_fasit\Exception\FasitResponseException @@ -383,8 +383,9 @@ private function uploadFile(string $originalFilename, string $tempFilename, stri throw new FasitResponseException('Could not get upload id from response'); } - // Note, that this does not mean a document has been sent to a citizen case in Fasit yet. - // This is done later by uploadDocument. The file has simply been made ready. + // Note, that this does not mean a document has been sent, + // to a citizen case in Fasit yet. This is done later by uploadDocument. + // The file has simply been made ready. $msg = sprintf('Successfully uploaded file %s to Fasit. Webform id: %s', $originalFilename, $webformId); $this->auditLogger->info('Fasit', $msg);