Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not return two types of data #76

Open
dmitrach opened this issue Jun 4, 2020 · 1 comment
Open

Does not return two types of data #76

dmitrach opened this issue Jun 4, 2020 · 1 comment

Comments

@dmitrach
Copy link

dmitrach commented Jun 4, 2020

Describe the bug
Does not return two types of data.

Example:

?bool => bool

There should be the following:

?bool => bool|null

Code

protected function checkPricingRule(PricingRule $pricingRule): ?bool
{}

Screenshots
Снимок экрана от 2020-06-04 17-54-14

Enviroment (please complete the following information):

OS: Ubuntu 20.04
VS Code: 1.45.1, the extension: 1.1.2
Language: PHP
@dmitrach dmitrach added the bug label Jun 4, 2020
@jeremyvii jeremyvii added the php label Jun 4, 2020
@rteano
Copy link

rteano commented Jun 21, 2021

this is also the same with typescript, it does not recognize multiple types

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants