Skip to content

Commit 03e1105

Browse files
committed
Fixed phpstan issues
1 parent 059a968 commit 03e1105

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Services/InfoProviderSystem/Providers/DigikeyProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ public function getDetails(string $id): PartDetailDTO
190190

191191
/**
192192
* Converts the product status from the Digikey API to the manufacturing status used in Part-DB
193-
* @param string|null $dk_status
193+
* @param int|null $dk_status
194194
* @return ManufacturingStatus|null
195195
*/
196196
private function productStatusToManufacturingStatus(?int $dk_status): ?ManufacturingStatus
@@ -277,7 +277,7 @@ private function pricingToDTOs(array $price_breaks, string $order_number, string
277277
}
278278

279279
/**
280-
* @param array $media_links
280+
* @param string $id The Digikey product number, to get the media for
281281
* @return FileDTO[][]
282282
* @phpstan-return array<string, FileDTO[]>
283283
*/

0 commit comments

Comments
 (0)