PHP8.1 에 대응하기 위해 deprecated 되는 오류 등 수정

This commit is contained in:
EC2 Default User
2022-03-14 00:53:09 +00:00
parent 26dfe6379f
commit 2e7953daba
5 changed files with 22 additions and 6 deletions

View File

@ -8319,7 +8319,10 @@ class HTMLPurifier_PropertyListIterator extends FilterIterator
/**
* @return bool
*
* {@inheritdoc}
*/
#[\ReturnTypeWillChange]
public function accept()
{
$key = $this->getInnerIterator()->key();
@ -8437,7 +8440,10 @@ class HTMLPurifier_StringHash extends ArrayObject
* Retrieves a value, and logs the access.
* @param mixed $index
* @return mixed
*
* {@inheritdoc}
*/
#[\ReturnTypeWillChange]
public function offsetGet($index)
{
$this->accessed[$index] = true;