From c0858f6569d161ed37ffa4c6792b1c296715bb8f Mon Sep 17 00:00:00 2001 From: Pavel Linhart Date: Sat, 10 Jun 2023 17:49:32 +0200 Subject: [PATCH] DbalExtension: allow services to be used as schemaAssetFilter (#79) --- src/DI/DbalExtension.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DI/DbalExtension.php b/src/DI/DbalExtension.php index 7253553..26b021a 100644 --- a/src/DI/DbalExtension.php +++ b/src/DI/DbalExtension.php @@ -41,7 +41,7 @@ public function getConfigSchema(): Schema 'configuration' => Expect::structure([ 'sqlLogger' => Expect::anyOf(Expect::string(), Expect::array(), Expect::type(Statement::class)), 'resultCache' => Expect::anyOf(Expect::string(), Expect::array(), Expect::type(Statement::class)), - 'schemaAssetsFilter' => Expect::anyOf(Expect::string(), Expect::type(Statement::class)), + 'schemaAssetsFilter' => Expect::anyOf(Expect::string(), Expect::array(), Expect::type(Statement::class)), 'filterSchemaAssetsExpression' => Expect::string()->nullable(), 'autoCommit' => Expect::bool(true), ]),