Skip to content

Commit cad65d1

Browse files
authored
Add return type declaration for current() method in BatchIterator (#550)
1 parent 634423f commit cad65d1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/contracts/Repository/Iterator/BatchIterator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public function __construct(
3636
}
3737

3838
#[\ReturnTypeWillChange]
39-
public function current()
39+
public function current(): mixed
4040
{
4141
if (!$this->isInitialized()) {
4242
$this->initialize();

0 commit comments

Comments
 (0)