Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit ab1f2e8

Browse files
committed
Fixed CS issues
1 parent 6866a6b commit ab1f2e8

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/Adapter/Driver/Sqlsrv/Statement.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ public function prepare($sql = null, array $options = [])
211211

212212
$pRef = &$this->parameterReferences;
213213
for ($position = 0, $count = substr_count($sql, '?'); $position < $count; $position++) {
214-
if (!isset($this->prepareParams[$position])) {
214+
if (! isset($this->prepareParams[$position])) {
215215
$pRef[$position] = [&$this->parameterReferenceValues[$position], SQLSRV_PARAM_IN, null, null];
216216
} else {
217217
$pRef[$position] = &$this->prepareParams[$position];

test/Adapter/Driver/Sqlsrv/SqlSrvIntegrationTest.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,10 @@ public function testCreateStatement()
5353
$stmt = $this->driver->createStatement();
5454
$this->assertInstanceOf('Zend\Db\Adapter\Driver\Sqlsrv\Statement', $stmt);
5555

56-
$this->setExpectedException('Zend\Db\Adapter\Exception\InvalidArgumentException', 'only accepts an SQL string or a Sqlsrv resource');
56+
$this->setExpectedException(
57+
'Zend\Db\Adapter\Exception\InvalidArgumentException',
58+
'only accepts an SQL string or a Sqlsrv resource'
59+
);
5760
$this->driver->createStatement(new \stdClass);
5861
}
5962

0 commit comments

Comments
 (0)