Skip to content

Commit

Permalink
fix rector
Browse files Browse the repository at this point in the history
  • Loading branch information
michalsn committed Dec 23, 2024
1 parent ee4e2e4 commit e344fb8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions system/Database/SQLSRV/PreparedQuery.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,8 @@ protected function _close(): bool

/**
* Handle parameters.
*
* @param array<int, mixed> $options
*/
protected function parameterize(string $queryString, array $options): array
{
Expand Down
2 changes: 1 addition & 1 deletion tests/system/Database/Live/PreparedQueryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ public function testInsertBinaryData(): void
$fileContent = file_get_contents(TESTPATH . '_support/Images/EXIFsamples/landscape_0.jpg');
$this->assertTrue($this->query->execute($fileContent));

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

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

0 comments on commit e344fb8

Please sign in to comment.