Skip to content

Commit 05e02c2

Browse files
committed
Fix phpdocumentor - automatic inherit if doc is without changes
1 parent 34fdfec commit 05e02c2

File tree

2 files changed

+1
-52
lines changed

2 files changed

+1
-52
lines changed

app/code/Magento/Customer/Model/Address.php

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -169,16 +169,6 @@ public function updateData(AddressInterface $address)
169169
return $this;
170170
}
171171

172-
/**
173-
* Create address data object based on current address model.
174-
*
175-
* @param int|null $defaultBillingAddressId
176-
* @param int|null $defaultShippingAddressId
177-
* @return AddressInterface
178-
* Use Api/Data/AddressInterface as a result of service operations. Don't rely on the model to provide
179-
* the instance of Api/Data/AddressInterface
180-
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
181-
*/
182172
public function getDataModel($defaultBillingAddressId = null, $defaultShippingAddressId = null)
183173
{
184174
if ($this->getCustomerId() || $this->getParentId()) {
@@ -371,7 +361,7 @@ public function reindex()
371361
/**
372362
* Get a list of custom attribute codes.
373363
*
374-
* {@inheritdoc}
364+
* By default, entity can be extended only using extension attributes functionality.
375365
*
376366
* @return string[]
377367
* @since 100.0.6

app/code/Magento/Customer/Model/ResourceModel/CustomerRepository.php

Lines changed: 0 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -299,44 +299,18 @@ private function populateCustomerWithSecureData($customerModel, $passwordHash =
299299
}
300300
}
301301

302-
/**
303-
* Retrieve customer.
304-
*
305-
* @param string $email
306-
* @param int|null $websiteId
307-
* @return \Magento\Customer\Api\Data\CustomerInterface
308-
* @throws \Magento\Framework\Exception\NoSuchEntityException If customer with the specified email does not exist.
309-
* @throws \Magento\Framework\Exception\LocalizedException
310-
*/
311302
public function get($email, $websiteId = null)
312303
{
313304
$customerModel = $this->customerRegistry->retrieveByEmail($email, $websiteId);
314305
return $customerModel->getDataModel();
315306
}
316307

317-
/**
318-
* Get customer by Customer ID.
319-
*
320-
* @param int $customerId
321-
* @return \Magento\Customer\Api\Data\CustomerInterface
322-
* @throws \Magento\Framework\Exception\NoSuchEntityException If customer with the specified ID does not exist.
323-
* @throws \Magento\Framework\Exception\LocalizedException
324-
*/
325308
public function getById($customerId)
326309
{
327310
$customerModel = $this->customerRegistry->retrieve($customerId);
328311
return $customerModel->getDataModel();
329312
}
330313

331-
/**
332-
* Retrieve customers which match a specified criteria.
333-
*
334-
* {@inheritdoc}
335-
*
336-
* @param \Magento\Framework\Api\SearchCriteriaInterface $searchCriteria
337-
* @return \Magento\Customer\Api\Data\CustomerSearchResultsInterface
338-
* @throws \Magento\Framework\Exception\LocalizedException
339-
*/
340314
public function getList(SearchCriteriaInterface $searchCriteria)
341315
{
342316
$searchResults = $this->searchResultsFactory->create();
@@ -374,26 +348,11 @@ public function getList(SearchCriteriaInterface $searchCriteria)
374348
return $searchResults;
375349
}
376350

377-
/**
378-
* Delete customer.
379-
*
380-
* @param \Magento\Customer\Api\Data\CustomerInterface $customer
381-
* @return bool true on success
382-
* @throws \Magento\Framework\Exception\LocalizedException
383-
*/
384351
public function delete(CustomerInterface $customer)
385352
{
386353
return $this->deleteById($customer->getId());
387354
}
388355

389-
/**
390-
* Delete customer by Customer ID.
391-
*
392-
* @param int $customerId
393-
* @return bool true on success
394-
* @throws \Magento\Framework\Exception\NoSuchEntityException
395-
* @throws \Magento\Framework\Exception\LocalizedException
396-
*/
397356
public function deleteById($customerId)
398357
{
399358
$customerModel = $this->customerRegistry->retrieve($customerId);

0 commit comments

Comments
 (0)