fabpot/Silex — pull request #812 by Im0rtality (2013-10-16 17:31:59+00:00)
Title: Fixed MD

Parameter [...] type is not compatible with declaration
Expected Silex\string, got string

I'm getting this from Mess Detector for following code (for `method()`):

/** @var $api ControllerCollection */
$api = $app['controllers_factory'];
$api
->match($route['path'], sprintf("%sController:%sAction", $controllerName, $route['action']))
->method(!empty($route['method']) ? $route['method'] : 'GET');