From 6a5a875fe094c42991abd50ecd78eeb129f1ee2e Mon Sep 17 00:00:00 2001 From: Tigrov Date: Tue, 30 Jan 2024 12:06:18 +0700 Subject: [PATCH] Fix test issues --- src/Schema.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Schema.php b/src/Schema.php index 21aa3817e..9592ed40a 100644 --- a/src/Schema.php +++ b/src/Schema.php @@ -977,7 +977,7 @@ private function loadTableConstraints(string $tableName, string $returnType): ar ])->queryAll(); /** @psalm-var array[][] $constraints */ - $constraints = array_change_key_case($constraints); + $constraints = array_map('array_change_key_case', $constraints); $constraints = DbArrayHelper::index($constraints, null, ['type', 'name']); $result = [