Browse files

Zend\Db

- Fixup of #3988 for coding standards
  • Loading branch information...
1 parent 22ef6b5 commit 466d501edda83e4b581bc315bac475f815a31ef4 @ralphschindler ralphschindler committed Mar 13, 2013
Showing with 4 additions and 4 deletions.
  1. +2 −2 library/Zend/Db/Sql/Insert.php
  2. +2 −2 tests/ZendTest/Db/Sql/SqlTest.php
View
4 library/Zend/Db/Sql/Insert.php
@@ -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);
- }
+ }
}
}
View
4 tests/ZendTest/Db/Sql/SqlTest.php
@@ -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);

0 comments on commit 466d501

Please sign in to comment.