original_string: public static function addCommonHeaderScripts($commonHeaderScripts)
      {
          foreach (GeneralUtility::trimExplode(',', $commonHeaderScripts, true) as $commonHeaderScript) {
              $commonHeaderScript = self::resolveUrl($commonHeaderScript);
              if ($commonHeaderScript) {
                  self::$commonHeaderScripts[] = $commonHeaderScript;
              }
          }
      }
code: public static function addCommonHeaderScripts($commonHeaderScripts)
      {
          foreach (GeneralUtility::trimExplode(',', $commonHeaderScripts, true) as $commonHeaderScript) {
              $commonHeaderScript = self::resolveUrl($commonHeaderScript);
              if ($commonHeaderScript) {
                  self::$commonHeaderScripts[] = $commonHeaderScript;
              }
          }
      }
code_tokens: public static function addCommonHeaderScripts ( $ commonHeaderScripts ) { foreach ( GeneralUtility :: trimExplode ( ',' , $ commonHeaderScripts , true ) as $ commonHeaderScript ) { $ commonHeaderScript = self :: resolveUrl ( $ commonHeaderScript ) ; if ( $ commonHeaderScript ) { self :: $ commonHeaderScripts [ ] = $ commonHeaderScript ; } } }
docstring: Add common header scripts
  
  @param string $commonHeaderScripts Common header scripts
docstring_tokens: Add common header scripts