public function configureServers(array $servers): array
    {
        return array_map(
            static function ($item) {
                if ($item['basic']) {
                    $item['basic'] = base64_encode($item['basic']);
                }

                return $item;
            },
            $servers
        );
    }
public function configureServers(array $servers): array
    {
        return array_map(
            static function ($item) {
                if ($item['basic']) {
                    $item['basic'] = base64_encode($item['basic']);
                }

                return $item;
            },
            $servers
        );
    }
public function configureServers ( array $ servers ) : array { return array_map ( static function ( $ item ) { if ( $ item [ 'basic' ] ) { $ item [ 'basic' ] = base64_encode ( $ item [ 'basic' ] ) ; } return $ item ; } , $ servers ) ; }
Returns servers list with hash for basic auth computed if provided.
Returns servers list with hash for basic auth computed if provided .