silverstripe / api.silverstripe.org

API documentation for the Silverstripe Framework
BSD 3-Clause "New" or "Revised" License
3 stars 14 forks source link

Incorrect return type FieldList::removeByName #71

Closed worikgh closed 6 years ago

worikgh commented 6 years ago

It is listed at http://api.silverstripe.org/4/SilverStripe/Forms/FieldList.html#method_removeByName as returning $this It does not. FieldList::removeByname(..) returns null

robbieaverill commented 6 years ago

Thanks. Would you like to PR to the framework to fix the php doc return declaration?

robbieaverill commented 6 years ago

Issue moved to silverstripe/silverstripe-framework #7929 via ZenHub