-
-
Notifications
You must be signed in to change notification settings - Fork 946
Closed
Labels
Milestone
Description
Bug report
I'm not sure if I would need to specify a type of the generic for this to work, but I would expect it to inherit the type from SimpleXMLElement
Code snippet that reproduces the problem
<?php declare(strict_types = 1);
use SimpleXMLExtended;
class HelloWorld extends SimpleXMLElement
{
public function removeThis(): void
{
unset($this[0]);
}
}Reactions are currently unavailable