Skip to content

Chain @return types #623

@blaaat

Description

@blaaat

For Chaining ->assign('x',1)->displa('x'); and IDE/static analysis purposes can I suggest having the proper @return docblock?

so for example:
* @return static current Smarty_Internal_Data (or Smarty or Smarty_Internal_Template) instance for * chaining

instead of:

* @return Smarty_Internal_Data current Smarty_Internal_Data (or Smarty or Smarty_Internal_Template) instance for chaining

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions