From 5490423cda7abeca742a8e932683bbea1ae21c80 Mon Sep 17 00:00:00 2001 From: Jose Lorenzo Rodriguez Date: Sun, 26 Oct 2014 22:11:43 +0100 Subject: [PATCH] Fixing CS errors --- src/Database/Expression/QueryExpression.php | 2 +- tests/TestCase/Database/QueryTest.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Database/Expression/QueryExpression.php b/src/Database/Expression/QueryExpression.php index 4b77d73dfdc..dd38eb2f64f 100644 --- a/src/Database/Expression/QueryExpression.php +++ b/src/Database/Expression/QueryExpression.php @@ -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) { diff --git a/tests/TestCase/Database/QueryTest.php b/tests/TestCase/Database/QueryTest.php index 8c537f2b372..061e6ca8887 100644 --- a/tests/TestCase/Database/QueryTest.php +++ b/tests/TestCase/Database/QueryTest.php @@ -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(); @@ -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');