From 1319708676fefac7541c80a888648342f17cec21 Mon Sep 17 00:00:00 2001 From: Mehmet Korkmaz Date: Wed, 11 Jul 2018 13:23:56 +0300 Subject: [PATCH] fix if parameters null for ConsoleApplication --- src/Console/ApplicationFactory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Console/ApplicationFactory.php b/src/Console/ApplicationFactory.php index e614041..d31ede8 100644 --- a/src/Console/ApplicationFactory.php +++ b/src/Console/ApplicationFactory.php @@ -10,7 +10,7 @@ class ApplicationFactory { - static public function makeApplication(ContainerInterface $container, string $name=null, string $version=null) : Application + public static function makeApplication(ContainerInterface $container, string $name='ConsoleApp', string $version='0.0.1') : Application { /** * @var array $commands