Closed
Description
This package currently seems not to be well-equipped for anonymous classes. 🙂
$object = new class {
public $foo; // "Variable $foo is undefined"
public function __construct()
{
$this->foo = 'bar'; // "Variable $this" is undefined
}
};
(Thanks for the great package by the way! I tend to get pretty mechanical when reporting bugs, but I really should sprinkle some gratefulness here and there. ❤️)