Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix $this to self:: in case of static method.#224

Merged
dg merged 2 commits into
nette:masterfrom
janbarasek:janbarasek-this-self-static
Jul 22, 2019
Merged

Fix $this to self:: in case of static method.#224
dg merged 2 commits into
nette:masterfrom
janbarasek:janbarasek-this-self-static

Conversation

@janbarasek

Copy link
Copy Markdown
Contributor
  • bug fix
  • BC break? no

Simply safe replace $this to self:: in case of static method.

@dg

dg commented Jul 19, 2019

Copy link
Copy Markdown
Member

It seems like BC break, it should probably be static::

@dg dg merged commit 14f6ce4 into nette:master Jul 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants