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

Adding question mark when nullable value is declared #6033

Merged
merged 2 commits into from
Nov 20, 2019

Conversation

rodrigowebjump
Copy link
Member

@rodrigowebjump rodrigowebjump commented Nov 19, 2019

Purpose of this pull request

This pull request (PR) improves the recommendation and example when adding a new constructor param

Affected DevDocs pages

https://devdocs.magento.com/guides/v2.3/contributor-guide/backward-compatible-development/
https://devdocs.magento.com/guides/v2.2/contributor-guide/backward-compatible-development/

Topic: Adding a constructor parameter

  • ...

Links to Magento source code

https://www.php.net/manual/en/migration71.new-features.php
https://github.com/magento/magento2/blob/2.3/app/code/Magento/Cms/Model/Page/DataProvider.php#L59

  • ...

@devops-devdocs
Copy link
Collaborator

An admin must run tests on this PR before it can be merged.

@keharper keharper added 2.2.x 2.3.x Magento 2.3 related changes small changes Technical Updates to the code or processes that alter the technical content of the doc labels Nov 20, 2019
@keharper
Copy link
Contributor

Thanks @rodrigowebjump

@keharper keharper changed the base branch from master to kh_small-changes November 20, 2019 16:10
@keharper keharper changed the base branch from kh_small-changes to master November 20, 2019 16:11
@dobooth dobooth changed the base branch from master to small-changes November 20, 2019 16:54
@dobooth dobooth merged commit a3967a2 into magento:small-changes Nov 20, 2019
@ghost
Copy link

ghost commented Nov 20, 2019

Hi @rodrigowebjump, thank you for your contribution!
Please, complete Contribution Survey, it will take less than a minute.
Your feedback will help us to improve contribution process.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
2.2.x 2.3.x Magento 2.3 related changes Partner: Webjump partners-contribution PR created by Magento partner Technical Updates to the code or processes that alter the technical content of the doc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants