Skip to content
This repository was archived by the owner on Nov 19, 2019. It is now read-only.
This repository was archived by the owner on Nov 19, 2019. It is now read-only.

Don't use &$this #10

@faishal

Description

@faishal

From PHP 5 onwards, all objects are passed by reference, so &$this is redundant. This is a common pattern with add_action/add_filter calls (since the callback is an array), but should just the bare $this instead. Read More

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions