Skip to content

Cannot use $this in static method add() in Notices class #23

@mihaijoldis

Description

@mihaijoldis

In /src/Admin/Notices.php, the static method add() attempts to use $this
Static methods should not use $this. Either make add() a non-static method, or use a static property (e.g., self::$notices) instead.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions