Skip to content

Commit

Permalink
SCA with Php Inspections (EA Ultimate): reverts as per code review
Browse files Browse the repository at this point in the history
  • Loading branch information
kalessil committed Apr 27, 2018
1 parent 724987b commit 95ce40f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Database/Dialect/SqliteDialectTrait.php
Expand Up @@ -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];
}
Expand Down

0 comments on commit 95ce40f

Please sign in to comment.