Skip to content

Commit

Permalink
FRW-7400 Upgraded PHPStan to 1.10.*. (#10911)
Browse files Browse the repository at this point in the history
FRW-7400 Update PHPStan to 1.10.*
  • Loading branch information
olhalivitchuk authored May 6, 2024
1 parent e4c0326 commit 5038003
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Spryker/Zed/Customer/Persistence/CustomerRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -212,10 +212,12 @@ public function getCustomerCollectionByCriteria(
CustomerCriteriaFilterTransfer $customerCriteriaFilterTransfer
): CustomerCollectionTransfer {
$customerCollectionTransfer = new CustomerCollectionTransfer();
/** @var \Propel\Runtime\Collection\ObjectCollection $customerCollection */
$customerCollection = $this->queryCustomersByCriteria($customerCriteriaFilterTransfer)->find();

$this->hydrateCustomerListWithCustomers(
$customerCollectionTransfer,
$this->queryCustomersByCriteria($customerCriteriaFilterTransfer)->find()->toArray(),
$customerCollection->toArray(),
);

return $customerCollectionTransfer;
Expand Down

0 comments on commit 5038003

Please sign in to comment.