Skip to content

Commit

Permalink
Fixing CS errors
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo committed Oct 26, 2014
1 parent 93c212b commit 5490423
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Database/Expression/QueryExpression.php
Expand Up @@ -305,7 +305,7 @@ public function notIn($field, $values, $type = null) {
* @param mixed $field The field name to compare for values in between the range.
* @param mixed $from The initial value of the range.
* @param mixed $to The ending value in the comparison range.
*@param string $type the type name for $value as configured using the Type map.
* @param string $type the type name for $value as configured using the Type map.
* @return QueryExpression
*/
public function between($field, $from, $to, $type = null) {
Expand Down
4 changes: 2 additions & 2 deletions tests/TestCase/Database/QueryTest.php
Expand Up @@ -1133,7 +1133,7 @@ public function testWhereWithBetween() {
$result = $query
->select(['id'])
->from('comments')
->where(function($exp) {
->where(function ($exp) {
return $exp->between('id', 5, 6, 'integer');
})
->execute();
Expand All @@ -1157,7 +1157,7 @@ public function testWhereWithBetweenComplex() {
$result = $query
->select(['id'])
->from('comments')
->where(function($exp) {
->where(function ($exp) {
$from = new \DateTime('2007-03-18 10:51:00');
$to = new \DateTime('2007-03-18 10:54:00');
return $exp->between('created', $from, $to, 'datetime');
Expand Down

0 comments on commit 5490423

Please sign in to comment.