diff --git a/src/LogCalls.php b/src/LogCalls.php index 323b4f4..9eb4b57 100644 --- a/src/LogCalls.php +++ b/src/LogCalls.php @@ -23,6 +23,7 @@ public function __construct( LogCall... $calls ) { $this->calls = $calls; } + #[\ReturnTypeWillChange] public function getIterator() { return new \ArrayIterator( $this->calls ); } @@ -43,6 +44,7 @@ public function getFirstCall(): ?LogCall { return empty( $this->calls ) ? null : $this->calls[0]; } + #[\ReturnTypeWillChange] /** * @since 2.1 * @return int