diff options
Diffstat (limited to 'aws/aws-sdk-php/src/History.php')
-rw-r--r-- | aws/aws-sdk-php/src/History.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/aws/aws-sdk-php/src/History.php b/aws/aws-sdk-php/src/History.php index e5943328..9f8a3bf0 100644 --- a/aws/aws-sdk-php/src/History.php +++ b/aws/aws-sdk-php/src/History.php @@ -21,11 +21,16 @@ class History implements \Countable, \IteratorAggregate $this->maxEntries = $maxEntries; } + /** + * @return int + */ + #[\ReturnTypeWillChange] public function count() { return count($this->entries); } + #[\ReturnTypeWillChange] public function getIterator() { return new \ArrayIterator(array_values($this->entries)); |