Skip to content

Commit 332a198

Browse files
committed
DevOps: Fixed code error for switch statement
1 parent 9aece39 commit 332a198

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Versioning](https://semver.org/spec/v2.0.0.html).
1111
- DevOps: Update docker setup to ensure real IPs in logs
1212
- [PR-363](https://github.com/itk-dev/os2loop/pull/367)
1313
Security update of Drupal core
14+
Fixed code error in switch cases
1415

1516
## [1.2.0]
1617

web/profiles/custom/os2loop/modules/os2loop_alert/src/Helper/Helper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ public function alterMail(array &$message) {
182182
$key = ucfirst($key);
183183
switch ($key) {
184184
case 'Cc':
185-
case 'Bcc';
185+
case 'Bcc':
186186
$message['headers'][$key] = $value;
187187
break;
188188
}

web/profiles/custom/os2loop/modules/os2loop_documents/modules/os2loop_documents_fixtures/src/Fixture/DocumentFixture.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ private function createStep(array $values, ?Paragraph $parent = NULL): Paragraph
377377
if (NULL !== $parent) {
378378
switch ($parent->getType()) {
379379
case 'os2loop_documents_step':
380-
case 'os2loop_documents_step_by_step';
380+
case 'os2loop_documents_step_by_step':
381381
$parent->get('os2loop_documents_steps')->appendItem($step);
382382
$parent->save();
383383
break;

0 commit comments

Comments
 (0)