Skip to content

Commit

Permalink
Dev : PHP Deprecated problem caused by modifying FakeMap.php.
Browse files Browse the repository at this point in the history
  • Loading branch information
kai890707 committed Sep 6, 2023
1 parent 2fa151a commit ad3be20
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/FakeMap.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ public static function parse($input): ?self
);
}

#[\ReturnTypeWillChange]
/**
* @return mixed
*/
Expand All @@ -73,6 +74,7 @@ public function next(): void
next($this->_map);
}

#[\ReturnTypeWillChange]
/**
* @return bool|float|int|string|null
*/
Expand Down Expand Up @@ -103,6 +105,7 @@ public function offsetExists($offset): bool
return isset($this->_map[$offset]) || \array_key_exists($offset, $this->_map);
}

#[\ReturnTypeWillChange]
/**
* @param mixed $offset
* @return mixed
Expand Down

0 comments on commit ad3be20

Please sign in to comment.