/**
  * Verify if a static route match in another method than the requested.
  *
  * @param string $method The HTTP method that must not be checked
  * @param string $uri    The URi that must be matched.
  *
  * @return array
  */
 protected function checkStaticRouteInOtherMethods($method, $uri)
 {
     $methods = [];
     $staticRoutesCollection = $this->collection->getStaticRoutes();
     unset($staticRoutesCollection[$method]);
     foreach ($staticRoutesCollection as $method => $routes) {
         if (!isset($methods[$method]) && isset($routes[$uri])) {
             $methods[$method] = $routes[$uri];
         }
     }
     return $methods;
 }