Skip to content

Commit

Permalink
DibiExtension3: fixed config schema
Browse files Browse the repository at this point in the history
In Dibi\Connection.php: Helpers::alias($config, 'result|formatDate', 'resultDate');
  • Loading branch information
radekdostal authored and dg committed Dec 4, 2023
1 parent 53b772c commit 7c9ff39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Dibi/Bridges/Nette/DibiExtension3.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public function getConfigSchema(): Nette\Schema\Schema
'lazy' => Expect::bool(false)->dynamic(),
'onConnect' => Expect::array()->dynamic(),
'substitutes' => Expect::arrayOf('string')->dynamic(),
'result' => Expect::structure([
'result' => Expect::array([
'normalize' => Expect::bool(true),
'formatDateTime' => Expect::string(),
'formatTimeInterval' => Expect::string(),
Expand Down

0 comments on commit 7c9ff39

Please sign in to comment.