Skip to content

Commit 3d47ec0

Browse files
authored
fix: type casting (reportUri)
1 parent 96daecf commit 3d47ec0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/Csp/Model/Mode/ConfigManager.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,8 @@ public function getConfigured(): ModeConfiguredInterface
127127
}
128128

129129
return $this->modeConfiguredFactory->create([
130-
'reportOnly' => (bool)$reportOnly,
131-
'reportUri' => !empty($reportUri) ? $reportUri : null,
130+
'reportOnly' => (bool) $reportOnly,
131+
'reportUri' => !empty($reportUri) ? (string) $reportUri : null,
132132
]);
133133
}
134134
}

0 commit comments

Comments
 (0)