original_string: public static function groupNames()
      {
          $groups = [];
  
          foreach(static::groups() as $groupname => $group) {
              $groups[$groupname] = $group['readableName'] ?? $groupname;
          }
  
          return $groups;
      }
code: public static function groupNames()
      {
          $groups = [];
  
          foreach(static::groups() as $groupname => $group) {
              $groups[$groupname] = $group['readableName'] ?? $groupname;
          }
  
          return $groups;
      }
code_tokens: public static function groupNames ( ) { $ groups = [ ] ; foreach ( static :: groups ( ) as $ groupname => $ group ) { $ groups [ $ groupname ] = $ group [ 'readableName' ] ?? $ groupname ; } return $ groups ; }
docstring: Get the groups list
  
  @return array
docstring_tokens: Get the groups list