From 58561bf6505f9d7fc4ee82e767a1c122b0280716 Mon Sep 17 00:00:00 2001 From: Benjamin Morel Date: Wed, 9 Dec 2020 22:38:32 +0100 Subject: [PATCH] ArrayAccess accepts integers, too --- src/Commando/Command.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Commando/Command.php b/src/Commando/Command.php index 2851175..7afa155 100755 --- a/src/Commando/Command.php +++ b/src/Commando/Command.php @@ -834,7 +834,7 @@ private function attachHelp() } /** - * @param string $offset + * @param int|string $offset * * @see \ArrayAccess * @return bool @@ -845,7 +845,7 @@ public function offsetExists($offset) } /** - * @param string $offset + * @param int|string $offset * * @see \ArrayAccess * @return mixed @@ -861,7 +861,7 @@ public function offsetGet($offset) } /** - * @param string $offset + * @param int|string $offset * @param string $value * @throws \Exception * @see \ArrayAccess @@ -872,7 +872,7 @@ public function offsetSet($offset, $value) } /** - * @param string $offset + * @param int|string $offset * @see \ArrayAccess */ public function offsetUnset($offset)