From 319fc3efc50c24d4bab8b18a3405096689e15574 Mon Sep 17 00:00:00 2001 From: jekuaitk Date: Mon, 9 Dec 2024 12:38:59 +0100 Subject: [PATCH] Applied coding standards --- .../os2forms_fasit/src/Helper/FasitHelper.php | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) 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);