From 7c9ff39822ba692468cbc79f70f6385dc981bb8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Radek=20Dost=C3=A1l?= Date: Mon, 27 Nov 2023 09:45:04 +0100 Subject: [PATCH] DibiExtension3: fixed config schema In Dibi\Connection.php: Helpers::alias($config, 'result|formatDate', 'resultDate'); --- src/Dibi/Bridges/Nette/DibiExtension3.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Dibi/Bridges/Nette/DibiExtension3.php b/src/Dibi/Bridges/Nette/DibiExtension3.php index fd2b2390..a00e9f06 100644 --- a/src/Dibi/Bridges/Nette/DibiExtension3.php +++ b/src/Dibi/Bridges/Nette/DibiExtension3.php @@ -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(),