Fix psalm

This commit is contained in:
Alex P. 2025-05-29 19:56:58 +03:00
parent a0d3d859f8
commit 5c5929a67b
No known key found for this signature in database
GPG key ID: 54487A734A204D71

View file

@ -94,7 +94,7 @@ class SettingsTabMapHelper {
* Retrieves the mapped value for the 'landing_page' from the new settings.
*
* @param array<string, scalar|array> $settings_model The new settings model data as an array.
* @return 'LOGIN'|'BILLING'|'NO_PREFERENCE'|null The mapped 'landing_page' setting value.
* @return 'LOGIN'|'GUEST_CHECKOUT'|'NO_PREFERENCE'|null The mapped 'landing_page' setting value.
*/
protected function mapped_landing_page_value( array $settings_model ): ?string {
$landing_page = $settings_model['landing_page'] ?? false;