original_string: public static function CategorizeUsersList($users) {
          $list = array();
          if (is_array($users) && count($users) > 0) {
              foreach ($users as $user) {
                  $userType = $user->user_type();
                  $list[$userType][] = $user;
              }
          }
          return $list;
      }
code: public static function CategorizeUsersList($users) {
          $list = array();
          if (is_array($users) && count($users) > 0) {
              foreach ($users as $user) {
                  $userType = $user->user_type();
                  $list[$userType][] = $user;
              }
          }
          return $list;
      }
code_tokens: public static function CategorizeUsersList ( $ users ) { $ list = array ( ) ; if ( is_array ( $ users ) && count ( $ users ) > 0 ) { foreach ( $ users as $ user ) { $ userType = $ user -> user_type ( ) ; $ list [ $ userType ] [ ] = $ user ; } } return $ list ; }
docstring: Categorize user list by type
docstring_tokens: Categorize user list by type