Skip to content

Commit

Permalink
Fix nullable on 'Router.matcher' method
Browse files Browse the repository at this point in the history
  • Loading branch information
arteymix committed Jan 11, 2016
1 parent c821dba commit ecd5d36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/valum-router.vala
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ namespace Valum {
* @param matcher callback used to match the request
* @param cb callback used to process the pair of request and response.
*/
public Route matcher (string method, owned MatcherCallback matcher, owned HandlerCallback cb) {
public Route matcher (string? method, owned MatcherCallback matcher, owned HandlerCallback cb) {
return this.route (new Route (this, method, (owned) matcher, (owned) cb));
}

Expand Down

0 comments on commit ecd5d36

Please sign in to comment.