Add return type

This commit is contained in:
Narek Zakarian 2025-07-25 16:07:18 +04:00
parent 6642e7d208
commit 70336ea458
No known key found for this signature in database
GPG key ID: 07AFD7E7A9C164A7

View file

@ -319,7 +319,7 @@ class StylingSettingsMapHelper {
*
* @psalm-suppress MissingClosureParamType
*/
static function ( $methods ) use ( $button_name, $current_context ) {
static function ( $methods ) use ( $button_name, $current_context ): array {
if ( $current_context !== 'classic_checkout' ) {
return $methods;
}