From c6fe64321ef06633c89bc055252f22d6ff676d52 Mon Sep 17 00:00:00 2001 From: Norbert Wagner <5166607+n3w@users.noreply.github.com> Date: Thu, 23 Mar 2023 08:47:59 +0100 Subject: [PATCH] Passing the separator after the array is no longer supported --- src/Input/Types/Argument.php | 2 +- src/Input/Types/LongOption.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Input/Types/Argument.php b/src/Input/Types/Argument.php index 52faec1..4550781 100644 --- a/src/Input/Types/Argument.php +++ b/src/Input/Types/Argument.php @@ -72,6 +72,6 @@ class Argument extends Input\AbstractInputType $second[$ii] = $secondaryLineLeadPadding.$second[$ii]; } - return $first.implode($second, PHP_EOL); + return $first.implode(PHP_EOL, $second); } } diff --git a/src/Input/Types/LongOption.php b/src/Input/Types/LongOption.php index 5961768..17d73de 100644 --- a/src/Input/Types/LongOption.php +++ b/src/Input/Types/LongOption.php @@ -84,6 +84,6 @@ class LongOption extends Input\AbstractInputType $second[$ii] = $secondaryLineLeadPadding.$second[$ii]; } - return $first.implode($second, PHP_EOL); + return $first.implode(PHP_EOL, $second); } }