PHP8.1 에 대응하기 위해 deprecated 되는 오류 등 수정
This commit is contained in:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user