Repository navigation
v12.20.0
while PHP is a little lenient here, the more accurate return type when returning `$this` is static, not self. when returning `new static()` the return type should also be `static` over `self`.
while PHP is a little lenient here, the more accurate return type when returning `$this` is static, not self. when returning `new static()` the return type should also be `static` over `self`.