Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/3rdparty.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'aws/aws-sdk-php/src/History.php')
-rw-r--r--aws/aws-sdk-php/src/History.php5
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));