Skip to content

Presenter: injectPrimary() params are required because $httpRequest is required#239

Merged
dg merged 1 commit intonette:masterfrom
janbarasek:patch-1
Dec 3, 2019
Merged

Presenter: injectPrimary() params are required because $httpRequest is required#239
dg merged 1 commit intonette:masterfrom
janbarasek:patch-1

Conversation

@janbarasek
Copy link
Contributor

  • new feature?
  • BC break? no

Mark optional parameters as required (without = null), because parameter $httpRequest is required.

Removed set default value as null, because in real code user must define value. Only marked as nullable.

@dg
Copy link
Member

dg commented Dec 3, 2019

Thanks

@dg dg merged commit f505669 into nette:master Dec 3, 2019
dg pushed a commit that referenced this pull request Dec 10, 2019
dg pushed a commit that referenced this pull request Jan 4, 2020
dg pushed a commit that referenced this pull request Jan 4, 2020
dg pushed a commit that referenced this pull request Jan 5, 2020
dg pushed a commit that referenced this pull request Jan 5, 2020
dg pushed a commit that referenced this pull request Jan 5, 2020
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