original_string: private function resolveOrder($routes, $order){
          if (isset($routes[$order])) {
              return $this->resolveOrder($routes, $order + 1);
          } else {
              return $order;
          }
      }
code: private function resolveOrder($routes, $order){
          if (isset($routes[$order])) {
              return $this->resolveOrder($routes, $order + 1);
          } else {
              return $order;
          }
      }
code_tokens: private function resolveOrder ( $ routes , $ order ) { if ( isset ( $ routes [ $ order ] ) ) { return $ this -> resolveOrder ( $ routes , $ order + 1 ) ; } else { return $ order ; } }
docstring: recursive function to resolve the order of a array of routes.
  If the order chosen in routing.yml is already in used, find the
  first next order available.
  
  @param array $routes the routes previously added
  @param int $order
  @return int
docstring_tokens: recursive function to resolve the order of a array of routes . If the order chosen in routing . yml is already in used find the first next order available .