Skip to content

Commit

Permalink
CORE-2209 Renaming method, altering translation key
Browse files Browse the repository at this point in the history
  • Loading branch information
gerner-spryker committed Nov 30, 2017
1 parent aa79d3d commit 67b2b13
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function __construct(CustomerInterface $customer, CustomerToUtilValidateS
*/
public function checkPreConditions(QuoteTransfer $quoteTransfer, CheckoutResponseTransfer $checkoutResponseTransfer)
{
if ($this->isRegisteredCustomer($quoteTransfer)) {
if ($this->hasIdCustomer($quoteTransfer)) {
return;
}

Expand Down Expand Up @@ -77,7 +77,7 @@ public function checkPreConditions(QuoteTransfer $quoteTransfer, CheckoutRespons
*
* @return bool
*/
protected function isRegisteredCustomer(QuoteTransfer $quoteTransfer)
protected function hasIdCustomer(QuoteTransfer $quoteTransfer)
{
return $quoteTransfer->getCustomer() !== null && $quoteTransfer->getCustomer()->getIdCustomer() !== null;
}
Expand Down

0 comments on commit 67b2b13

Please sign in to comment.