From 4d38360a6d32ad6c6e75ef52298e32aec554ec42 Mon Sep 17 00:00:00 2001 From: Harold Date: Mon, 13 May 2019 17:19:19 -0600 Subject: [PATCH] [generate-inline] Use | to separate array values --- src/EventSubscriber/ShowGenerateInlineListener.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/EventSubscriber/ShowGenerateInlineListener.php b/src/EventSubscriber/ShowGenerateInlineListener.php index f4a7162..0f237b2 100644 --- a/src/EventSubscriber/ShowGenerateInlineListener.php +++ b/src/EventSubscriber/ShowGenerateInlineListener.php @@ -116,7 +116,7 @@ public function showGenerateInline(ConsoleTerminateEvent $event) foreach ($optionValue as $optionItem) { if (is_array($optionItem)) { $inlineValue = implode( - ', ', array_map( + ' | ', array_map( function ($v, $k) { return '"'.$k . '":"' . $v . '"'; },