Commit 29d256f4 authored by Rolando Payán Mosqueda's avatar Rolando Payán Mosqueda Committed by Stephen Lucero
Browse files

Issue #3300762 by rpayanm: Deprecated function: Return type of rewind(),...

Issue #3300762 by rpayanm: Deprecated function: Return type of rewind(), next(), seek() should either be compatible with ArrayIterator's functions
parent 96a22b87
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -147,7 +147,7 @@ class SchemaIterator extends \RecursiveArrayIterator {
  /**
   * {@inheritdoc}
   */
  public function next() {
  public function next(): void {
    // Reset the property schema before accessing a new value.
    unset($this->propertySchema);

@@ -157,7 +157,7 @@ class SchemaIterator extends \RecursiveArrayIterator {
  /**
   * {@inheritdoc}
   */
  public function rewind() {
  public function rewind(): void {
    // Reset the property schema before accessing a new value.
    unset($this->propertySchema);

@@ -167,7 +167,7 @@ class SchemaIterator extends \RecursiveArrayIterator {
  /**
   * {@inheritdoc}
   */
  public function seek($offset) {
  public function seek($offset): void {
    // Reset the property schema before accessing a new value.
    unset($this->propertySchema);