Skip to content
Permalink
Browse files

SCA with Php Inspections (EA Ultimate): reverts as per code review

  • Loading branch information...
kalessil committed Apr 27, 2018
1 parent 724987b commit 95ce40f6ccf4fc9fa69b8020b2d9b9d23992fb2b
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Database/Dialect/SqliteDialectTrait.php
@@ -120,7 +120,7 @@ protected function _transformFunctionExpression(FunctionExpression $expression)
->setConjunction(' ,')
->iterateParts(function ($p, $key) {
if ($key === 0) {
$value = strtolower(rtrim($p, 's'));
$value = rtrim(strtolower($p), 's');
if (isset($this->_dateParts[$value])) {
$p = ['value' => '%' . $this->_dateParts[$value], 'type' => null];
}

0 comments on commit 95ce40f

Please sign in to comment.
You can’t perform that action at this time.