Skip to content

Commit a676e1a

Browse files
mrceperkamabar
authored andcommitted
Allow nullable url
1 parent cfb1e92 commit a676e1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DI/ConsoleExtension.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public function __construct(bool $cliMode = false)
4545
public function getConfigSchema(): Schema
4646
{
4747
return Expect::structure([
48-
'url' => Expect::string(),
48+
'url' => Expect::anyOf(Expect::string(), Expect::null()),
4949
'name' => Expect::string(),
5050
'version' => Expect::anyOf(Expect::string(), Expect::int(), Expect::float()),
5151
'catchExceptions' => Expect::bool(),

0 commit comments

Comments
 (0)