From b16742a58fdc98ee751ac8f0cd8b7ef8ad88395e Mon Sep 17 00:00:00 2001 From: Jakub Zalas Date: Wed, 29 Aug 2018 15:18:32 +0100 Subject: [PATCH] Fix a typo --- src/Tool/Command/Assert.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Tool/Command/Assert.php b/src/Tool/Command/Assert.php index 796f3527..b1a4f5d9 100644 --- a/src/Tool/Command/Assert.php +++ b/src/Tool/Command/Assert.php @@ -11,7 +11,7 @@ public static function requireFields(array $fields, array $data, string $type) }); if (!empty($missingFields)) { - throw new \InvalidArgumentException(\sprintf('Missing fields "%s" in the %s: `%s`.', \implode($missingFields, ', '), $type, \json_encode($data))); + throw new \InvalidArgumentException(\sprintf('Missing fields "%s" in the %s: `%s`.', \implode(', ', $missingFields), $type, \json_encode($data))); } } }