Closed dakur closed 3 years ago
Version: 3.5.1
class SomeClass { public function something(mixed $param) {} } // ClassType::withBodiesFrom(SomeClass::class) generates: class SomeClass { public function something(?mixed $param) {} }
which is incorrect as null is implicitly contained in mixed.
null
mixed
Version: 3.5.1
Bug Description
which is incorrect as
null
is implicitly contained inmixed
.