From 014dbadfa4eb9d1bf55a41d815da163a7ff58762 Mon Sep 17 00:00:00 2001 From: sclubricants Date: Wed, 28 Sep 2022 14:01:16 -0700 Subject: [PATCH] Fix phpstan --- system/Database/SQLSRV/Forge.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/system/Database/SQLSRV/Forge.php b/system/Database/SQLSRV/Forge.php index e841ac893db3..096d6fe23677 100755 --- a/system/Database/SQLSRV/Forge.php +++ b/system/Database/SQLSRV/Forge.php @@ -250,8 +250,6 @@ protected function _processIndexes(string $table) $sqls = []; for ($i = 0, $c = count($this->keys); $i < $c; $i++) { - $this->keys[$i]['fields'] = (array) $this->keys[$i]['fields']; - for ($i2 = 0, $c2 = count($this->keys[$i]['fields']); $i2 < $c2; $i2++) { if (! isset($this->fields[$this->keys[$i]['fields'][$i2]])) { unset($this->keys[$i]['fields'][$i2]);