Skip to content

Binding uses this in static method #1

@DubbaThony

Description

@DubbaThony

Trace:
PHP Fatal error: Uncaught Error: Using $this when not in object context in /home/user/gh/foo/src/Contract/Contract.php:30
Stack trace:
#0 /home/user/gh/foo/deploy.php(28): \Contract\Contract::deployContract()
#1 {main}
thrown in /home/user/gh/foo/src/Contract/Contract.php on line 30

Issue:

There is validator generated into binding for uintN (it's sizes etc.) It's called with $this, while it can be easily static call.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions