@@ -35,11 +35,11 @@ class FasitHelper {
3535 ];
3636
3737 public function __construct (
38- private readonly ClientInterface $ client ,
39- private readonly EntityTypeManagerInterface $ entityTypeManager ,
40- private readonly Settings $ settings ,
41- private readonly CertificateLocatorHelper $ certificateLocator ,
42- private readonly Logger $ auditLogger ,
38+ private readonly ClientInterface $ client ,
39+ private readonly EntityTypeManagerInterface $ entityTypeManager ,
40+ private readonly Settings $ settings ,
41+ private readonly CertificateLocatorHelper $ certificateLocator ,
42+ private readonly Logger $ auditLogger ,
4343 ) {
4444 }
4545
@@ -239,7 +239,7 @@ private function uploadDocument(array $uploads, string $submissionId, array $han
239239 throw new FasitResponseException (sprintf ('Expected status code 200, received %d ' , $ response ->getStatusCode ()));
240240 }
241241
242- $ msg = sprintf ('Successfully uploaded document %s to cpr %s in Fasit. Webform id: %s ' , $ fasitDocumentTitle , $ fasitCpr , $ submission ->getWebform ()->id ());
242+ $ msg = sprintf ('Successfully uploaded document %s to cpr %s in Fasit. Webform id %s. ' , $ fasitDocumentTitle , $ fasitCpr , $ submission ->getWebform ()->id ());
243243 $ this ->auditLogger ->info ('Fasit ' , $ msg );
244244 }
245245
@@ -329,7 +329,7 @@ private function uploadAttachment(string $submissionId, array $handlerConfigurat
329329 * The temp filename.
330330 * @param string $webformId
331331 * The webform id.
332- *
332+ *
333333 * @throws \Drupal\os2forms_fasit\Exception\CertificateLocatorException
334334 * Certificate locator exception.
335335 * @throws \Drupal\os2forms_fasit\Exception\FasitResponseException
@@ -383,9 +383,10 @@ private function uploadFile(string $originalFilename, string $tempFilename, stri
383383 throw new FasitResponseException ('Could not get upload id from response ' );
384384 }
385385
386- // Note, that this does not mean a document has been sent to a citizen case in Fasit yet.
387- // This is done later by uploadDocument. The file has simply been made ready.
388- $ msg = sprintf ('Successfully uploaded file %s to Fasit. Webform id: %s ' , $ originalFilename , $ webformId );
386+ // Note, that this does not mean a document has been sent,
387+ // to a citizen case in Fasit yet. This is done later by uploadDocument.
388+ // The file has simply been made ready.
389+ $ msg = sprintf ('Successfully uploaded file %s to Fasit. Webform id %s. ' , $ originalFilename , $ webformId );
389390 $ this ->auditLogger ->info ('Fasit ' , $ msg );
390391
391392 return ['filename ' => $ originalFilename , 'id ' => $ content ['id ' ]];
0 commit comments