vlucas / bulletphp

A resource-oriented micro PHP framework
http://bulletphp.com
BSD 3-Clause "New" or "Revised" License
418 stars 50 forks source link

Default $method = null for App->run() #66

Closed acicali closed 7 years ago

acicali commented 9 years ago

Since the constructor for Request() defaults $method to null anyways, I vote that App->run() also have its $method defaulted to null.

This doesn't seem to break anything, but allows us to let $app->run() create the Request object instead of having to provide it.

netom commented 7 years ago

Easy can do: e8f7496