Closed worikgh closed 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
Thanks. Would you like to PR to the framework to fix the php doc return declaration?
Issue moved to silverstripe/silverstripe-framework #7929 via ZenHub
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