We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d21b0fa commit 7ad8b0fCopy full SHA for 7ad8b0f
src/SQLParser/Node/NodeFactory.php
@@ -452,13 +452,7 @@ private static function buildFromSubtree($subTree)
452
if (!empty($subTree) && !isset($subTree[0])) {
453
$subTree = StatementFactory::toObject($subTree);
454
} else {
455
- $subTree = self::mapArrayToNodeObjectList($subTree); /*array_map(function ($item) {
456
- if (is_array($item)) {
457
- return self::toObject($item);
458
- } else {
459
- return $item;
460
- }
461
- }, $subTree);*/
+ $subTree = self::mapArrayToNodeObjectList($subTree);
462
}
463
464
0 commit comments