Skip to content

Commit

Permalink
format: run php-cs-fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
mkuettel committed May 16, 2024
1 parent c0285f2 commit 4bf49f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions system/Database/SQLSRV/Connection.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

namespace CodeIgniter\Database\SQLSRV;

use BadMethodCallException;
use CodeIgniter\Database\BaseConnection;
use CodeIgniter\Database\Exceptions\DatabaseException;
use CodeIgniter\Database\SavepointsForNestedTransactions;
Expand Down Expand Up @@ -569,7 +568,8 @@ public function isWriteType($sql): bool
return parent::isWriteType($sql);
}

protected function _savepointQuery($create, $commit): string {
protected function _savepointQuery($create, $commit): string

Check failure on line 571 in system/Database/SQLSRV/Connection.php

View workflow job for this annotation

GitHub Actions / PHP Static Analysis

Method CodeIgniter\Database\SQLSRV\Connection::_savepointQuery() has parameter $commit with no type specified.

Check failure on line 571 in system/Database/SQLSRV/Connection.php

View workflow job for this annotation

GitHub Actions / PHP Static Analysis

Method CodeIgniter\Database\SQLSRV\Connection::_savepointQuery() has parameter $create with no type specified.
{
return $create ? 'SAVE' : ($commit ? 'COMMIT' : 'ROLLBACK') . ' TRANSACTION';
}
}

0 comments on commit 4bf49f9

Please sign in to comment.