Skip to content

Commit

Permalink
CORE-600 Use empty transfer instead.
Browse files Browse the repository at this point in the history
  • Loading branch information
dereuromark committed Sep 28, 2016
1 parent 091691c commit d0a82e8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public function customerAction(CustomerTransfer $customerTransfer)
return $this->getFacade()
->getCustomer($customerTransfer);
} catch (CustomerNotFoundException $e) {
return $customerTransfer;
return new CustomerTransfer();
}
}

Expand Down

0 comments on commit d0a82e8

Please sign in to comment.