Skip to content

Commit e344fb8

Browse files
committed
fix rector
1 parent ee4e2e4 commit e344fb8

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

system/Database/SQLSRV/PreparedQuery.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,8 @@ protected function _close(): bool
120120

121121
/**
122122
* Handle parameters.
123+
*
124+
* @param array<int, mixed> $options
123125
*/
124126
protected function parameterize(string $queryString, array $options): array
125127
{

tests/system/Database/Live/PreparedQueryTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ public function testInsertBinaryData(): void
284284
$fileContent = file_get_contents(TESTPATH . '_support/Images/EXIFsamples/landscape_0.jpg');
285285
$this->assertTrue($this->query->execute($fileContent));
286286

287-
$id = $this->db->insertId();
287+
$id = $this->db->insertID();
288288
$builder = $this->db->table('type_test');
289289

290290
if ($this->db->DBDriver === 'Postgre') {

0 commit comments

Comments
 (0)