Make app optional

This commit is contained in:
Dennis Eichhorn 2019-03-07 19:00:15 +01:00
parent d33f24aa6b
commit 97cf8dd5a8

View File

@ -55,7 +55,7 @@ final class Dispatcher
* *
* @since 1.0.0 * @since 1.0.0
*/ */
public function __construct(ApplicationAbstract $app) public function __construct(ApplicationAbstract $app = null)
{ {
$this->app = $app; $this->app = $app;
} }