thrownew\RuntimeException(sprintf('Middleware for route "%s" returned an invalid response value. Must return null or an instance of Response.',$routeName));
thrownew\RuntimeException(sprintf('The before middleware for route "%s" returned an invalid response value. Must return null or an instance of Response.',$routeName));