-
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
Refactor \Order\Shipment\AddTrack Controller to use ResultInterface #21822
Refactor \Order\Shipment\AddTrack Controller to use ResultInterface #21822
Conversation
Hi @JeroenVanLeusden. Thank you for your contribution
For more details, please, review the Magento Contributor Assistant documentation |
Will update the tests if necessary when implementation itself is correct. |
a42da63
to
65634f6
Compare
Hi @VladimirZaets, thank you for the review. |
✔️ QA Passed |
*/ | ||
public function execute() | ||
public function execute(): ResultInterface |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a good idea to add strict type to the method but unfortunately, we are not allowed to change public methods signature according to our Backward Compatible Development Guide
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sidolov Removed the return type.
Hi @sidolov, thank you for the review. |
✔️ QA Passed |
Hi @JeroenVanLeusden, thank you for your contribution! |
Description (*)
Refactor \Order\Shipment\AddTrack Controller to use ResultInterface and Repository to save shipment.
Fixed Issues (if relevant)
Manual testing scenarios (*)
Contribution checklist (*)