-
Notifications
You must be signed in to change notification settings - Fork 248
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
Add Support of PHP 7 Syntax for MSI APIs #62
Comments
Hi @maghamed,
The second issues is we use often return SourceInterface[] First of all, we must think how we can solve this issue and discuss the way. Branch: |
According to the guide, we provided https://github.com/magento-engcom/magento2/wiki/PHP-7-Syntax-usage-for-Magento-Contribution
But that does not mean that we can't have such contracts in our interfaces. The only issue that these contracts would not be strictly checked on the level of language. * @return bool|null Regarding array type hinting, like this one Some time ago there was even a proposal to fix that https://wiki.php.net/rfc/arrayof Thus, what I propose to do is to keep the same strategy as we follow along with the Magento codebase.
|
Linked PR |
Merged in #100 |
[Arrows] MC-40541: Admin Place Order not working as expected. MFTF test.
Add Support of
For Inventory API service contracts.
The text was updated successfully, but these errors were encountered: