Skip to content

Commit

Permalink
Merge pull request #2834 from spryker/bugfix/interfaces
Browse files Browse the repository at this point in the history
Fix interface annotations around Stubs.
  • Loading branch information
dereuromark authored Sep 22, 2017
2 parents 0aad418 + a94881a commit fdda992
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 38 deletions.
38 changes: 19 additions & 19 deletions src/Spryker/Client/Customer/Zed/CustomerStub.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public function __construct(ZedRequestClient $zedStub)
/**
* @param \Generated\Shared\Transfer\CustomerTransfer $customerTransfer
*
* @return \Generated\Shared\Transfer\CustomerResponseTransfer
* @return \Generated\Shared\Transfer\CustomerResponseTransfer|\Spryker\Shared\Kernel\Transfer\TransferInterface
*/
public function hasCustomerWithEmailAndPassword(CustomerTransfer $customerTransfer)
{
Expand All @@ -40,7 +40,7 @@ public function hasCustomerWithEmailAndPassword(CustomerTransfer $customerTransf
/**
* @param \Generated\Shared\Transfer\CustomerTransfer $customerTransfer
*
* @return \Generated\Shared\Transfer\CustomerResponseTransfer
* @return \Generated\Shared\Transfer\CustomerResponseTransfer|\Spryker\Shared\Kernel\Transfer\TransferInterface
*/
public function sendPasswordRestoreMail(CustomerTransfer $customerTransfer)
{
Expand All @@ -50,7 +50,7 @@ public function sendPasswordRestoreMail(CustomerTransfer $customerTransfer)
/**
* @param \Generated\Shared\Transfer\CustomerTransfer $customerTransfer
*
* @return \Generated\Shared\Transfer\CustomerResponseTransfer
* @return \Generated\Shared\Transfer\CustomerResponseTransfer|\Spryker\Shared\Kernel\Transfer\TransferInterface
*/
public function restorePassword(CustomerTransfer $customerTransfer)
{
Expand All @@ -60,7 +60,7 @@ public function restorePassword(CustomerTransfer $customerTransfer)
/**
* @param \Generated\Shared\Transfer\CustomerTransfer $customerTransfer
*
* @return \Generated\Shared\Transfer\CustomerTransfer
* @return \Generated\Shared\Transfer\CustomerTransfer|\Spryker\Shared\Kernel\Transfer\TransferInterface
*/
public function confirmRegistration(CustomerTransfer $customerTransfer)
{
Expand All @@ -70,7 +70,7 @@ public function confirmRegistration(CustomerTransfer $customerTransfer)
/**
* @param \Generated\Shared\Transfer\CustomerTransfer $customerTransfer
*
* @return \Generated\Shared\Transfer\CustomerResponseTransfer
* @return \Generated\Shared\Transfer\CustomerResponseTransfer|\Spryker\Shared\Kernel\Transfer\TransferInterface
*/
public function register(CustomerTransfer $customerTransfer)
{
Expand All @@ -80,7 +80,7 @@ public function register(CustomerTransfer $customerTransfer)
/**
* @param \Generated\Shared\Transfer\CustomerTransfer $customerTransfer
*
* @return \Generated\Shared\Transfer\CustomerTransfer
* @return \Generated\Shared\Transfer\CustomerTransfer|\Spryker\Shared\Kernel\Transfer\TransferInterface
*/
public function get(CustomerTransfer $customerTransfer)
{
Expand All @@ -90,7 +90,7 @@ public function get(CustomerTransfer $customerTransfer)
/**
* @param \Generated\Shared\Transfer\CustomerTransfer $customerTransfer
*
* @return \Generated\Shared\Transfer\CustomerResponseTransfer
* @return \Generated\Shared\Transfer\CustomerResponseTransfer|\Spryker\Shared\Kernel\Transfer\TransferInterface
*/
public function update(CustomerTransfer $customerTransfer)
{
Expand All @@ -100,7 +100,7 @@ public function update(CustomerTransfer $customerTransfer)
/**
* @param \Generated\Shared\Transfer\CustomerTransfer $customerTransfer
*
* @return \Generated\Shared\Transfer\CustomerResponseTransfer
* @return \Generated\Shared\Transfer\CustomerResponseTransfer|\Spryker\Shared\Kernel\Transfer\TransferInterface
*/
public function updatePassword(CustomerTransfer $customerTransfer)
{
Expand All @@ -110,7 +110,7 @@ public function updatePassword(CustomerTransfer $customerTransfer)
/**
* @param \Generated\Shared\Transfer\CustomerTransfer $customerTransfer
*
* @return \Spryker\Client\ZedRequest\Client\Response
* @return \Spryker\Client\ZedRequest\Client\Response|\Spryker\Shared\Kernel\Transfer\TransferInterface
*/
public function delete(CustomerTransfer $customerTransfer)
{
Expand All @@ -120,7 +120,7 @@ public function delete(CustomerTransfer $customerTransfer)
/**
* @param \Generated\Shared\Transfer\AddressTransfer $addressTransfer
*
* @return \Generated\Shared\Transfer\AddressTransfer
* @return \Generated\Shared\Transfer\AddressTransfer|\Spryker\Shared\Kernel\Transfer\TransferInterface
*/
public function createAddress(AddressTransfer $addressTransfer)
{
Expand All @@ -130,7 +130,7 @@ public function createAddress(AddressTransfer $addressTransfer)
/**
* @param \Generated\Shared\Transfer\AddressTransfer $addressTransfer
*
* @return \Generated\Shared\Transfer\AddressTransfer
* @return \Generated\Shared\Transfer\AddressTransfer|\Spryker\Shared\Kernel\Transfer\TransferInterface
*/
public function updateAddress(AddressTransfer $addressTransfer)
{
Expand All @@ -140,7 +140,7 @@ public function updateAddress(AddressTransfer $addressTransfer)
/**
* @param \Generated\Shared\Transfer\AddressTransfer $addressTransfer
*
* @return \Generated\Shared\Transfer\CustomerTransfer
* @return \Generated\Shared\Transfer\CustomerTransfer|\Spryker\Shared\Kernel\Transfer\TransferInterface
*/
public function updateAddressAndCustomerDefaultAddresses(AddressTransfer $addressTransfer)
{
Expand All @@ -150,7 +150,7 @@ public function updateAddressAndCustomerDefaultAddresses(AddressTransfer $addres
/**
* @param \Generated\Shared\Transfer\AddressTransfer $addressTransfer
*
* @return \Generated\Shared\Transfer\CustomerTransfer
* @return \Generated\Shared\Transfer\CustomerTransfer|\Spryker\Shared\Kernel\Transfer\TransferInterface
*/
public function createAddressAndUpdateCustomerDefaultAddresses(AddressTransfer $addressTransfer)
{
Expand All @@ -160,7 +160,7 @@ public function createAddressAndUpdateCustomerDefaultAddresses(AddressTransfer $
/**
* @param \Generated\Shared\Transfer\AddressTransfer $addressTransfer
*
* @return \Generated\Shared\Transfer\AddressTransfer
* @return \Generated\Shared\Transfer\AddressTransfer|\Spryker\Shared\Kernel\Transfer\TransferInterface
*/
public function getAddress(AddressTransfer $addressTransfer)
{
Expand All @@ -170,7 +170,7 @@ public function getAddress(AddressTransfer $addressTransfer)
/**
* @param \Generated\Shared\Transfer\CustomerTransfer $customerTransfer
*
* @return \Generated\Shared\Transfer\AddressesTransfer
* @return \Generated\Shared\Transfer\AddressesTransfer|\Spryker\Shared\Kernel\Transfer\TransferInterface
*/
public function getAddresses(CustomerTransfer $customerTransfer)
{
Expand All @@ -180,7 +180,7 @@ public function getAddresses(CustomerTransfer $customerTransfer)
/**
* @param \Generated\Shared\Transfer\AddressTransfer $AddressTransfer
*
* @return \Generated\Shared\Transfer\AddressTransfer
* @return \Generated\Shared\Transfer\AddressTransfer|\Spryker\Shared\Kernel\Transfer\TransferInterface
*/
public function deleteAddress(AddressTransfer $AddressTransfer)
{
Expand All @@ -190,7 +190,7 @@ public function deleteAddress(AddressTransfer $AddressTransfer)
/**
* @param \Generated\Shared\Transfer\AddressTransfer $AddressTransfer
*
* @return \Generated\Shared\Transfer\AddressTransfer
* @return \Generated\Shared\Transfer\AddressTransfer|\Spryker\Shared\Kernel\Transfer\TransferInterface
*/
public function setDefaultBillingAddress(AddressTransfer $AddressTransfer)
{
Expand All @@ -200,7 +200,7 @@ public function setDefaultBillingAddress(AddressTransfer $AddressTransfer)
/**
* @param \Generated\Shared\Transfer\AddressTransfer $AddressTransfer
*
* @return \Generated\Shared\Transfer\AddressTransfer
* @return \Generated\Shared\Transfer\AddressTransfer|\Spryker\Shared\Kernel\Transfer\TransferInterface
*/
public function setDefaultShippingAddress(AddressTransfer $AddressTransfer)
{
Expand All @@ -210,7 +210,7 @@ public function setDefaultShippingAddress(AddressTransfer $AddressTransfer)
/**
* @param \Generated\Shared\Transfer\CustomerTransfer $customerTransfer
*
* @return \Spryker\Shared\Kernel\Transfer\TransferInterface
* @return \Generated\Shared\Transfer\CustomerTransfer|\Spryker\Shared\Kernel\Transfer\TransferInterface
*/
public function anonymizeCustomer(CustomerTransfer $customerTransfer)
{
Expand Down
38 changes: 19 additions & 19 deletions src/Spryker/Client/Customer/Zed/CustomerStubInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,133 +16,133 @@ interface CustomerStubInterface
/**
* @param \Generated\Shared\Transfer\CustomerTransfer $customerTransfer
*
* @return \Generated\Shared\Transfer\CustomerResponseTransfer
* @return \Generated\Shared\Transfer\CustomerResponseTransfer|\Spryker\Shared\Kernel\Transfer\TransferInterface
*/
public function hasCustomerWithEmailAndPassword(CustomerTransfer $customerTransfer);

/**
* @param \Generated\Shared\Transfer\CustomerTransfer $customerTransfer
*
* @return \Generated\Shared\Transfer\CustomerResponseTransfer
* @return \Generated\Shared\Transfer\CustomerResponseTransfer|\Spryker\Shared\Kernel\Transfer\TransferInterface
*/
public function sendPasswordRestoreMail(CustomerTransfer $customerTransfer);

/**
* @param \Generated\Shared\Transfer\CustomerTransfer $customerTransfer
*
* @return \Generated\Shared\Transfer\CustomerResponseTransfer
* @return \Generated\Shared\Transfer\CustomerResponseTransfer|\Spryker\Shared\Kernel\Transfer\TransferInterface
*/
public function restorePassword(CustomerTransfer $customerTransfer);

/**
* @param \Generated\Shared\Transfer\CustomerTransfer $customerTransfer
*
* @return \Generated\Shared\Transfer\CustomerTransfer
* @return \Generated\Shared\Transfer\CustomerTransfer|\Spryker\Shared\Kernel\Transfer\TransferInterface
*/
public function confirmRegistration(CustomerTransfer $customerTransfer);

/**
* @param \Generated\Shared\Transfer\CustomerTransfer $customerTransfer
*
* @return \Generated\Shared\Transfer\CustomerResponseTransfer
* @return \Generated\Shared\Transfer\CustomerResponseTransfer|\Spryker\Shared\Kernel\Transfer\TransferInterface
*/
public function register(CustomerTransfer $customerTransfer);

/**
* @param \Generated\Shared\Transfer\CustomerTransfer $customerTransfer
*
* @return \Generated\Shared\Transfer\CustomerTransfer
* @return \Generated\Shared\Transfer\CustomerTransfer|\Spryker\Shared\Kernel\Transfer\TransferInterface
*/
public function get(CustomerTransfer $customerTransfer);

/**
* @param \Generated\Shared\Transfer\CustomerTransfer $customerTransfer
*
* @return \Generated\Shared\Transfer\CustomerResponseTransfer
* @return \Generated\Shared\Transfer\CustomerResponseTransfer|\Spryker\Shared\Kernel\Transfer\TransferInterface
*/
public function update(CustomerTransfer $customerTransfer);

/**
* @param \Generated\Shared\Transfer\CustomerTransfer $customerTransfer
*
* @return \Generated\Shared\Transfer\CustomerResponseTransfer
* @return \Generated\Shared\Transfer\CustomerResponseTransfer|\Spryker\Shared\Kernel\Transfer\TransferInterface
*/
public function updatePassword(CustomerTransfer $customerTransfer);

/**
* @param \Generated\Shared\Transfer\CustomerTransfer $customerTransfer
*
* @return \Spryker\Client\ZedRequest\Client\Response
* @return \Spryker\Client\ZedRequest\Client\Response|\Spryker\Shared\Kernel\Transfer\TransferInterface
*/
public function delete(CustomerTransfer $customerTransfer);

/**
* @param \Generated\Shared\Transfer\AddressTransfer $addressTransfer
*
* @return \Generated\Shared\Transfer\AddressTransfer
* @return \Generated\Shared\Transfer\AddressTransfer|\Spryker\Shared\Kernel\Transfer\TransferInterface
*/
public function createAddress(AddressTransfer $addressTransfer);

/**
* @param \Generated\Shared\Transfer\AddressTransfer $addressTransfer
*
* @return \Generated\Shared\Transfer\AddressTransfer
* @return \Generated\Shared\Transfer\AddressTransfer|\Spryker\Shared\Kernel\Transfer\TransferInterface
*/
public function updateAddress(AddressTransfer $addressTransfer);

/**
* @param \Generated\Shared\Transfer\AddressTransfer $addressTransfer
*
* @return \Generated\Shared\Transfer\CustomerTransfer
* @return \Generated\Shared\Transfer\CustomerTransfer|\Spryker\Shared\Kernel\Transfer\TransferInterface
*/
public function updateAddressAndCustomerDefaultAddresses(AddressTransfer $addressTransfer);

/**
* @param \Generated\Shared\Transfer\AddressTransfer $addressTransfer
*
* @return \Generated\Shared\Transfer\CustomerTransfer
* @return \Generated\Shared\Transfer\CustomerTransfer|\Spryker\Shared\Kernel\Transfer\TransferInterface
*/
public function createAddressAndUpdateCustomerDefaultAddresses(AddressTransfer $addressTransfer);

/**
* @param \Generated\Shared\Transfer\AddressTransfer $addressTransfer
*
* @return \Generated\Shared\Transfer\AddressTransfer
* @return \Generated\Shared\Transfer\AddressTransfer|\Spryker\Shared\Kernel\Transfer\TransferInterface
*/
public function getAddress(AddressTransfer $addressTransfer);

/**
* @param \Generated\Shared\Transfer\CustomerTransfer $customerTransfer
*
* @return \Generated\Shared\Transfer\AddressesTransfer
* @return \Generated\Shared\Transfer\AddressesTransfer|\Spryker\Shared\Kernel\Transfer\TransferInterface
*/
public function getAddresses(CustomerTransfer $customerTransfer);

/**
* @param \Generated\Shared\Transfer\AddressTransfer $addressTransfer
*
* @return \Generated\Shared\Transfer\AddressTransfer
* @return \Generated\Shared\Transfer\AddressTransfer|\Spryker\Shared\Kernel\Transfer\TransferInterface
*/
public function deleteAddress(AddressTransfer $addressTransfer);

/**
* @param \Generated\Shared\Transfer\AddressTransfer $AddressTransfer
*
* @return \Generated\Shared\Transfer\AddressTransfer
* @return \Generated\Shared\Transfer\AddressTransfer|\Spryker\Shared\Kernel\Transfer\TransferInterface
*/
public function setDefaultBillingAddress(AddressTransfer $AddressTransfer);

/**
* @param \Generated\Shared\Transfer\AddressTransfer $AddressTransfer
*
* @return \Generated\Shared\Transfer\AddressTransfer
* @return \Generated\Shared\Transfer\AddressTransfer|\Spryker\Shared\Kernel\Transfer\TransferInterface
*/
public function setDefaultShippingAddress(AddressTransfer $AddressTransfer);

/**
* @param \Generated\Shared\Transfer\CustomerTransfer $customerTransfer
*
* @return \Generated\Shared\Transfer\CustomerTransfer
* @return \Generated\Shared\Transfer\CustomerTransfer|\Spryker\Shared\Kernel\Transfer\TransferInterface
*/
public function anonymizeCustomer(CustomerTransfer $customerTransfer);

Expand Down

0 comments on commit fdda992

Please sign in to comment.