Skip to content

Commit ed15dba

Browse files
Added missing ReturnTypeWillChange annotations
1 parent e096edb commit ed15dba

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/Gitonomy/Git/ReferenceBag.php

+2
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,7 @@ protected function initialize()
375375
*
376376
* @see Countable
377377
*/
378+
#[\ReturnTypeWillChange]
378379
public function count()
379380
{
380381
$this->initialize();
@@ -385,6 +386,7 @@ public function count()
385386
/**
386387
* @see IteratorAggregate
387388
*/
389+
#[\ReturnTypeWillChange]
388390
public function getIterator()
389391
{
390392
$this->initialize();

src/Gitonomy/Git/RevisionList.php

+2
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,13 @@ public function getAll()
5454
return $this->revisions;
5555
}
5656

57+
#[\ReturnTypeWillChange]
5758
public function getIterator()
5859
{
5960
return new \ArrayIterator($this->revisions);
6061
}
6162

63+
#[\ReturnTypeWillChange]
6264
public function count()
6365
{
6466
return count($this->revisions);

0 commit comments

Comments
 (0)