original_string: private function getRequirements(string $docComment): array
      {
          return array_map(
              function($tag) {
                  preg_match('#@require ([^ ]*)#', $tag, $match);
  
                  return $match[1];
              },
              array_filter(
                  array_map(
                      'trim',
                      explode(
                          "\n",
                          str_replace(
                              "\r\n",
                              "\n",
                              $docComment
                          )
                      )
                  ),
                  function($docline) {
                      return 0 === strpos($docline, '* @require');
                  }
              )
          );
      }
code: private function getRequirements(string $docComment): array
      {
          return array_map(
              function($tag) {
                  preg_match('#@require ([^ ]*)#', $tag, $match);
  
                  return $match[1];
              },
              array_filter(
                  array_map(
                      'trim',
                      explode(
                          "\n",
                          str_replace(
                              "\r\n",
                              "\n",
                              $docComment
                          )
                      )
                  ),
                  function($docline) {
                      return 0 === strpos($docline, '* @require');
                  }
              )
          );
      }
code_tokens: private function getRequirements ( string $ docComment ) : array { return array_map ( function ( $ tag ) { preg_match ( '#@require ([^ ]*)#' , $ tag , $ match ) ; return $ match [ 1 ] ; } , array_filter ( array_map ( 'trim' , explode ( "\n" , str_replace ( "\r\n" , "\n" , $ docComment ) ) ) , function ( $ docline ) { return 0 === strpos ( $ docline , '* @require' ) ; } ) ) ; }
docstring: Get required interfaces
  
  @param string $docComment
  
  @return array
docstring_tokens: Get required interfaces