Permalink
Browse files

Add some corrections

  • Loading branch information...
1 parent 7ca0ac2 commit 79a9ce5000e1b05fd62a4c664c96f9cc9a932025 @odolbeau odolbeau committed Jun 5, 2012
@@ -111,7 +111,7 @@ protected function hydrateRowData(array $row, array &$cache, array &$result)
// Get a reference to the right element in the result tree.
// This element will get the associated element attached.
if ($this->_rsm->isMixed && isset($this->_rootAliases[$parent])) {
- $first = reset($this->_resultPointers);
+ $first = reset($this->_resultPointers);
// TODO: Exception if $key === null ?
$baseElement =& $this->_resultPointers[$parent][key($first)];
} else if (isset($this->_resultPointers[$parent])) {
@@ -348,7 +348,7 @@ public function useQueryCache($bool)
* Returns the cache driver used for query caching.
*
* @return CacheDriver The cache driver used for query caching or NULL, if
- * this Query does not use query caching.
+ * this Query does not use query caching.
*/
public function getQueryCacheDriver()
{
@@ -2046,8 +2046,8 @@ public function walkInputParameter($inputParam)
public function walkArithmeticExpression($arithmeticExpr)
{
return ($arithmeticExpr->isSimpleArithmeticExpression())
- ? $this->walkSimpleArithmeticExpression($arithmeticExpr->simpleArithmeticExpression)
- : '(' . $this->walkSubselect($arithmeticExpr->subselect) . ')';
+ ? $this->walkSimpleArithmeticExpression($arithmeticExpr->simpleArithmeticExpression)
+ : '(' . $this->walkSubselect($arithmeticExpr->subselect) . ')';
}
/**

0 comments on commit 79a9ce5

Please sign in to comment.