diff --git a/TokenCollection.php b/TokenCollection.php index 6ab4295..85cc8c5 100644 --- a/TokenCollection.php +++ b/TokenCollection.php @@ -20,7 +20,7 @@ class TokenCollection extends ArrayList { * * @return Token */ - public function get(int $index): Token { + public function get(int $index): ?Token { return parent::get($index); } }