mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-10 05:58:42 +00:00
fix exception typo
This commit is contained in:
parent
71100a4634
commit
d2e553643b
|
|
@ -114,7 +114,7 @@ final class Permutation
|
||||||
$length = \is_array($toPermute) ? \count($toPermute) : \strlen($toPermute);
|
$length = \is_array($toPermute) ? \count($toPermute) : \strlen($toPermute);
|
||||||
|
|
||||||
if (\count($key) > $length) {
|
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;
|
$i = 0;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user