original_string: public function updateSocials()
      {
          $url = 'https://raw.githubusercontent.com/matomo-org/searchengine-and-social-list/master/Socials.yml';
          $list = Http::sendHttpRequest($url, 30);
          $socials = Social::getInstance()->loadYmlData($list);
          if (count($socials) < 50) {
              return;
          }
          Option::set(Social::OPTION_STORAGE_NAME, base64_encode(serialize($socials)));
      }
code: public function updateSocials()
      {
          $url = 'https://raw.githubusercontent.com/matomo-org/searchengine-and-social-list/master/Socials.yml';
          $list = Http::sendHttpRequest($url, 30);
          $socials = Social::getInstance()->loadYmlData($list);
          if (count($socials) < 50) {
              return;
          }
          Option::set(Social::OPTION_STORAGE_NAME, base64_encode(serialize($socials)));
      }
code_tokens: public function updateSocials ( ) { $ url = 'https://raw.githubusercontent.com/matomo-org/searchengine-and-social-list/master/Socials.yml' ; $ list = Http :: sendHttpRequest ( $ url , 30 ) ; $ socials = Social :: getInstance ( ) -> loadYmlData ( $ list ) ; if ( count ( $ socials ) < 50 ) { return ; } Option :: set ( Social :: OPTION_STORAGE_NAME , base64_encode ( serialize ( $ socials ) ) ) ; }
docstring: Update the social definitions
  
  @see https://github.com/matomo-org/searchengine-and-social-list
docstring_tokens: Update the social definitions