Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Zend\Db

- Fixup of #3988 for coding standards
  • Loading branch information...
commit 1cfeb74f4b86c3d1041414952ab4f93d04a69277 1 parent 6f816ea
Ralph Schindler ralphschindler authored committed
4 library/Zend/Db/Sql/Insert.php
View
@@ -174,11 +174,11 @@ public function prepareStatement(AdapterInterface $adapter, StatementContainerIn
$parameterContainer->merge($exprData->getParameterContainer());
} else {
$values[$cIndex] = $driver->formatParameterName($column);
- if(isset($this->values[$cIndex])) {
+ if (isset($this->values[$cIndex])) {
$parameterContainer->offsetSet($column, $this->values[$cIndex]);
} else {
$parameterContainer->offsetSet($column, null);
- }
+ }
}
}
4 tests/ZendTest/Db/Sql/SqlTest.php
View
@@ -19,7 +19,7 @@ class TableGatewayTest extends \PHPUnit_Framework_TestCase
/**
* Sql object
- * @var Zend\Db\Sql\Sql
+ * @var Sql
*/
protected $sql = null;
@@ -119,7 +119,7 @@ public function testDelete()
/**
* @covers Zend\Db\Sql\Sql::prepareStatementForSqlObject
*/
- public function testprepareStatementForSqlObject()
+ public function testPrepareStatementForSqlObject()
{
$insert = $this->sql->insert()->columns(array('foo'));
$stmt = $this->sql->prepareStatementForSqlObject($insert);
Please sign in to comment.
Something went wrong with that request. Please try again.