-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Models clean up #6934
Models clean up #6934
Conversation
GSadee
commented
Nov 29, 2016
Q | A |
---|---|
Bug fix? | no |
New feature? | no |
BC breaks? | yes |
Related tickets | |
License | MIT |
/** | ||
* @return string | ||
*/ | ||
public function getInventoryName(); |
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.
This method should be removed 💥
use Sylius\Component\Order\Model\OrderItemUnitInterface as BaseOrderItemUnitInterface; | ||
use Sylius\Component\Shipping\Model\ShipmentUnitInterface; | ||
|
||
/** | ||
* @author Mateusz Zalewski <mateusz.zalewski@lakion.com> | ||
*/ | ||
interface OrderItemUnitInterface extends BaseOrderItemUnitInterface, InventoryUnitInterface, ShipmentUnitInterface | ||
interface OrderItemUnitInterface extends BaseOrderItemUnitInterface, ShipmentUnitInterface |
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.
Why removing InventoryUnitInterface
? The concept of Inventory unit should stay.
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.
I removed that because of one method, which I wanted to add to InventoryUnitInterface
. I revert this removal 👍
8162ad0
to
2be3769
Compare
2be3769
to
77c63ca
Compare
Thanks Grzesiu! |