Make app optional for init

This commit is contained in:
Dennis Eichhorn 2018-08-29 16:34:52 +02:00
parent 8716d80efb
commit c7ee1fadab

View File

@ -54,7 +54,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;
} }