From 8d7d4f85cf5d6e4d65135b75c8fbd6a474a0f8cc Mon Sep 17 00:00:00 2001 From: jekuaitk Date: Mon, 7 Oct 2024 09:35:15 +0200 Subject: [PATCH] Further coding standards --- CHANGELOG.md | 1 + modules/os2forms_digital_post/src/Helper/DigitalPostHelper.php | 2 ++ .../os2forms_digital_post/src/Helper/WebformHelperSF1601.php | 2 ++ 3 files changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2e5f9ef..6ab8f81 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ before starting to add changes. Use example [placed in the end of the page](#exa ## [Unreleased] - [OS-119] Keeping value of CPR clean, not adding address protection text +- Applied coding standards ## [3.16.0] 2024-08-27 diff --git a/modules/os2forms_digital_post/src/Helper/DigitalPostHelper.php b/modules/os2forms_digital_post/src/Helper/DigitalPostHelper.php index c0683e5..9d3d3a8 100644 --- a/modules/os2forms_digital_post/src/Helper/DigitalPostHelper.php +++ b/modules/os2forms_digital_post/src/Helper/DigitalPostHelper.php @@ -83,6 +83,8 @@ public function sendDigitalPost(string $type, Message $message, ?ForsendelseI $f * The message. * @param array $context * The context. + * + * @phpstan-param array $context */ public function log($level, $message, array $context = []): void { $this->logger->log($level, $message, $context); diff --git a/modules/os2forms_digital_post/src/Helper/WebformHelperSF1601.php b/modules/os2forms_digital_post/src/Helper/WebformHelperSF1601.php index 11a2151..fa0a058 100644 --- a/modules/os2forms_digital_post/src/Helper/WebformHelperSF1601.php +++ b/modules/os2forms_digital_post/src/Helper/WebformHelperSF1601.php @@ -206,6 +206,8 @@ private function loadQueue(): QueueInterface { * The message. * @param array $context * The context. + * + * @phpstan-param array $context */ public function log($level, $message, array $context = []): void { $this->logger->log($level, $message, $context);