From d2e553643b50a4a6c736d3402c4bd2483ed2a050 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sat, 11 Apr 2020 21:43:02 +0200 Subject: [PATCH] fix exception typo --- Utils/Permutation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Utils/Permutation.php b/Utils/Permutation.php index 7f3686876..50b3781e7 100644 --- a/Utils/Permutation.php +++ b/Utils/Permutation.php @@ -114,7 +114,7 @@ final class Permutation $length = \is_array($toPermute) ? \count($toPermute) : \strlen($toPermute); if (\count($key) > $length) { - throw new \OutOfBoundsException('There mustn not be more keys than permutation elements.'); + throw new \OutOfBoundsException('There must not be more keys than permutation elements.'); } $i = 0;