Skip to content

Replace explicit __invoke call with regular call syntax #7981

Closed as not planned
@julienfalque

Description

@julienfalque

Feature request

-$callable->__invoke();
+$callable();

-$this->callable->__invoke();
+($this->callable)();

Link to Discussion where feature request was formed

No response

Contribution Checks

  • I have verified if this feature request was already discussed
  • I am familiar with "Feature or bug?"

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions