| Subject | Details |
| :------------- | :---------------------------------------------------------------------------- |
| Plugin | Php Inspections (EA Extended) 4.0.3 |
| Language level | PHP 7.4 |
The code
class A {
private ?string $foo;
private ?A $bar;
private ?DateTime $baz;
public function __construct()
{
$this->foo = null;
$this->bar = null;
$this->baz = null;
}
}
still yields "[EA] Written value is same as default one, consider removing this assignment." for all 3 properies.
No warning
PHPStorm 2020.1 (201.6668.153)
Thank you @MisatoTremor.
Fixed!
Most helpful comment
Fixed!