mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-01 07:02:48 +08:00
Fix psalm
This commit is contained in:
parent
a0d3d859f8
commit
5c5929a67b
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue