Current Behaviour
See the demo. The method it removes must remain as it's required by the interface.
Minimal PHP Code Causing Issue
<?php
interface DemoInterface
{
public function demoMethod($demoVar);
}
class DemoClass implements DemoInterface
{
private $demoVar;
public function demoMethod($demoVar)
{
$this->demoVar = $demoVar;
}
}
Expected Behaviour
It should remove only the useless variable. Not the required method. It should leave it empty.
Current Behaviour
See the demo. The method it removes must remain as it's required by the interface.
Minimal PHP Code Causing Issue
Expected Behaviour
It should remove only the useless variable. Not the required method. It should leave it empty.