We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2fed5bd + b184687 commit 699e894Copy full SHA for 699e894
1 file changed
src/Errors/ErrorContainer.php
@@ -115,6 +115,7 @@ public function current(): ?ValidationError
115
/**
116
* @inheritDoc
117
*/
118
+ #[\ReturnTypeWillChange]
119
public function next(): ?ValidationError
120
{
121
return next($this->errors) ?: null;
@@ -139,8 +140,9 @@ public function valid(): bool
139
140
141
142
143
144
public function rewind(): ?ValidationError
145
146
return reset($this->errors) ?: null;
147
}
-}
148
+}
0 commit comments