GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix implode arg. order · phpmyadmin/sql-parser@43c9e28

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • src/Components
    • Expression.php
    • ExpressionArray.php
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎src/Components/Expression.php‎

Copy file name to clipboardExpand all lines: src/Components/Expression.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ public static function parse(Parser $parser, TokensList $list, array $options =
433433
public static function build($component, array $options = array())
434434
{
435435
if (is_array($component)) {
436-
return implode($component, ', ');
436+
return implode(', ', $component);
437437
}
438438

439439
if ($component->expr !== '' && ! is_null($component->expr)) {
Collapse file

‎src/Components/ExpressionArray.php‎

Copy file name to clipboardExpand all lines: src/Components/ExpressionArray.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,6 @@ public static function build($component, array $options = array())
122122
$ret[] = $frag::build($frag);
123123
}
124124

125-
return implode($ret, ', ');
125+
return implode(', ', $ret);
126126
}
127127
}

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.