Skip to content

Commit

Permalink
Fix signature issues
Browse files Browse the repository at this point in the history
  • Loading branch information
jissereitsma committed Apr 18, 2022
1 parent 0cf77e2 commit d3411dd
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Model/Indexer/Fulltext/Action/IndexIterator.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ public function __construct(
* @deprecated 100.1.6 Since class is deprecated
* @since 100.0.3
*/
public function current()
public function current(): mixed
{
return $this->current;
}
Expand All @@ -154,7 +154,7 @@ public function current()
* @deprecated 100.1.6 Since class is deprecated
* @since 100.0.3
*/
public function next()
public function next(): void
{
\next($this->products);
if (\key($this->products) === null) {
Expand Down Expand Up @@ -253,7 +253,7 @@ public function next()
* @deprecated 100.1.6 Since class is deprecated
* @since 100.0.3
*/
public function key()
public function key(): mixed
{
return $this->key;
}
Expand All @@ -264,7 +264,7 @@ public function key()
* @deprecated 100.1.6 Since class is deprecated
* @since 100.0.3
*/
public function valid()
public function valid(): bool
{
return $this->isValid;
}
Expand All @@ -275,7 +275,7 @@ public function valid()
* @deprecated 100.1.6 Since class is deprecated
* @since 100.0.3
*/
public function rewind()
public function rewind(): void
{
$this->lastProductId = 0;
$this->key = null;
Expand Down

0 comments on commit d3411dd

Please sign in to comment.