Skip to content

Commit

Permalink
used nette/schema 1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Jan 22, 2021
1 parent 1e32384 commit f84c16a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"nette/caching": "<3.1",
"nette/di": "<3.0.7",
"nette/forms": "<3.0",
"nette/schema": "<1.1",
"nette/schema": "<1.2",
"latte/latte": "<2.7.1 >=3.0",
"tracy/tracy": "<2.5"
},
Expand Down
2 changes: 1 addition & 1 deletion src/Bridges/ApplicationDI/ApplicationExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public function getConfigSchema(): Nette\Schema\Schema
'scanDirs' => Expect::anyOf(
Expect::arrayOf('string')->default($this->scanDirs)->mergeDefaults(),
false
)->default($this->scanDirs),
)->firstIsDefault(),
'scanComposer' => Expect::bool(class_exists(ClassLoader::class)),
'scanFilter' => Expect::string('*Presenter'),
'silentLinks' => Expect::bool(),
Expand Down

0 comments on commit f84c16a

Please sign in to comment.