Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Ladislav Gallay committed Oct 21, 2014
1 parent f961585 commit 032f0fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Database/Dialect/PostgresDialectTrait.php
Expand Up @@ -104,8 +104,8 @@ protected function _transformFunctionExpression(FunctionExpression $expression)
->name('')
->type('-')
->iterateParts(function ($p) {
if ( is_string($p) ) {
$p = [ 'value' => [$p => 'literal'], 'type' => null ];
if (is_string($p)) {
$p = ['value' => [$p => 'literal'], 'type' => null];
} else {
$p['value'] = [$p['value']];
}
Expand Down

0 comments on commit 032f0fb

Please sign in to comment.