Skip to content

Commit

Permalink
Allow nullable url
Browse files Browse the repository at this point in the history
  • Loading branch information
mrceperka authored and mabar committed Jul 29, 2019
1 parent cfb1e92 commit a676e1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DI/ConsoleExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public function __construct(bool $cliMode = false)
public function getConfigSchema(): Schema
{
return Expect::structure([
'url' => Expect::string(),
'url' => Expect::anyOf(Expect::string(), Expect::null()),
'name' => Expect::string(),
'version' => Expect::anyOf(Expect::string(), Expect::int(), Expect::float()),
'catchExceptions' => Expect::bool(),
Expand Down

0 comments on commit a676e1a

Please sign in to comment.