-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Each getter must have description with @return annotation. #981
Each getter must have description with @return annotation. #981
Conversation
Hi @fooman |
@okorshenko I can confirm that the error message indeed has gone away with beta4. Could you please explain what you meant with
The plugin was intercepting
Could you confirm if this is a correct/valid approach or if something else should have been chosen. Any documentation / link to documentation that you can provide in terms of what to intercept when would be great. |
I meant that if you want to convert object to array using method
But luckily we have already fixed this issue on the our code base. Please, enjoy :)
I confirm that this is valid approach.
I'm not sure that we have some documentation that describes what to intercept and when. This depends on your concrete case. The general approach/best practices are:
|
[Falcons] Delivery of deployment improvements and bug fixes
[EngCom] Public Pull Requests - 2.2-develop - MAGETWO-85332: Fix error loading theme configuration on PHP 7.2 #12606 - MAGETWO-85307: 12468: Sort by Price not working on CatalogSearch Page in Magento 2 #929 - MAGETWO-85303: #12582: Can't remove item description from wishlist #981 - MAGETWO-85297: 8410: Custom Checkout Step and Shipping Step are Highlighted and Combined upon Checkout page load #975 - MAGETWO-85290: 7467: File Put Contents file with empty content. #962
- Merge Pull Request magento/graphql-ce#983 from TomashKhamlai/graphql-ce:issue/981 - Merged commits: 1. 287e906
Accepted Community Pull Requests: - magento/graphql-ce#873: graphQl-509: `save_in_address_book` has no impact on Address Book (by @kisroman) - magento/graphql-ce#991: graphQl-987: [Test coverage] Cover exceptions in Magento\QuoteGraphQl� (by @kisroman) - magento/graphql-ce#995: magento/graphql-ce#985: Remove unnecessary exceptions (by @atwixfirster) - magento/graphql-ce#997: magento/graphql-ce#975: [Test coverage] Cover CartAddressTypeResolver (by @atwixfirster) - magento/graphql-ce#990: Extend test coverage for CustomerDownloadableGraphQl (by @TomashKhamlai) - magento/graphql-ce#983: #981 Extend test coverage for BraintreeGraphQl (by @TomashKhamlai) - magento/graphql-ce#973: GraphQl-972: added support of the Global scope in the config fixture (by @VitaliyBoyko) Fixed GitHub Issues: - #975: [Question] Have traits been considered for the Interceptor classes? (reported by @fooman) has been fixed in magento/graphql-ce#997 by @atwixfirster in 2.3-develop branch Related commits: 1. 493d744 - #989: make build artifacts accessable (reported by @Flyingmana) has been fixed in magento/graphql-ce#990 by @TomashKhamlai in 2.3-develop branch Related commits: 1. bccd287 - #972: Pub/Static directory is empty (reported by @mrugeshrocks) has been fixed in magento/graphql-ce#973 by @VitaliyBoyko in 2.3-develop branch Related commits: 1. 3489da5 2. 63bd232 3. b64a485
The autogenerated code for Interceptor classes is using the inheritdoc notation. This then does not pass checks on the class for correct docblock description and return type. For details to reproduce and confirmation this change fixes it see https://gist.github.com/mzeis/11a7231cd67a5216ec47