Skip to content

Commit

Permalink
phpstan-ignore-line
Browse files Browse the repository at this point in the history
  • Loading branch information
qwerin committed Jan 8, 2025
1 parent 3536cbf commit 6d1d87f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Drivers/PdoSqlsrv/PdoSqlsrvResultAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ public function getTypes(): array
throw new InvalidStateException("Should not happen.");
}
$types[$field['name']] = $field['sqlsrv:decl_type'] ?? null; // @phpstan-ignore-line
if($types[$field['name']] === 'numeric' && $field['precision'] === 0) {
$types[$field['name']] ='int';
if($types[$field['name']] === 'numeric' && $field['precision'] === 0) { // @phpstan-ignore-line
$types[$field['name']] ='int'; // @phpstan-ignore-line
}
}

Expand Down

0 comments on commit 6d1d87f

Please sign in to comment.