@@ -192,7 +192,7 @@ discard block |
||
192 | 192 | } |
193 | 193 | |
194 | 194 | if (isset($desc['hints']) && $desc['hints']) { |
195 | - $expr->setHints(array_map(static function (array $hint) { |
|
195 | + $expr->setHints(array_map(static function(array $hint) { |
|
196 | 196 | return new Hint($hint['hint_type'], $hint['hint_list']); |
197 | 197 | }, $desc['hints'])); |
198 | 198 | } |
@@ -512,7 +512,7 @@ discard block |
||
512 | 512 | array('NOT'), |
513 | 513 | array('&&', 'AND'), |
514 | 514 | array('XOR'), |
515 | - array('||', 'OR'), ); |
|
515 | + array('||', 'OR'),); |
|
516 | 516 | |
517 | 517 | private static $OPERATOR_TO_CLASS = array( |
518 | 518 | '=' => 'SQLParser\Node\Equal', |
@@ -819,7 +819,7 @@ discard block |
||
819 | 819 | */ |
820 | 820 | public static function nodeToInstanceDescriptor($node, MoufManager $moufManager) |
821 | 821 | { |
822 | - return self::array_map_deep($node, function ($item) use ($moufManager) { |
|
822 | + return self::array_map_deep($node, function($item) use ($moufManager) { |
|
823 | 823 | if ($item instanceof NodeInterface) { |
824 | 824 | return $item->toInstanceDescriptor($moufManager); |
825 | 825 | } else { |
@@ -863,7 +863,7 @@ discard block |
||
863 | 863 | { |
864 | 864 | if (is_array($nodes)) { |
865 | 865 | $elems = array(); |
866 | - array_walk_recursive($nodes, function ($item) use (&$elems, $platform, $indent, $parameters, $conditionsMode, $extrapolateParameters) { |
|
866 | + array_walk_recursive($nodes, function($item) use (&$elems, $platform, $indent, $parameters, $conditionsMode, $extrapolateParameters) { |
|
867 | 867 | if ($item instanceof SqlRenderInterface) { |
868 | 868 | $itemSql = $item->toSql($parameters, $platform, $indent, $conditionsMode, $extrapolateParameters); |
869 | 869 | if ($itemSql !== null) { |
@@ -233,7 +233,7 @@ |
||
233 | 233 | } |
234 | 234 | if ($this->hints) { |
235 | 235 | foreach ($this->hints as $hint) { |
236 | - $sql .= ' ' . $hint->getType() . ' ' . $hint->getList(); |
|
236 | + $sql .= ' '.$hint->getType().' '.$hint->getList(); |
|
237 | 237 | } |
238 | 238 | } |
239 | 239 | if ($this->refClause) { |