Skip to content

Commit

Permalink
Fixed phpstan bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jbtronics committed Mar 4, 2024
1 parent 0c53f5e commit 925f5c0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Services/InfoProviderSystem/Providers/MouserProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,9 @@ private function releaseStatusCodeToManufacturingStatus(?string $productStatus,

//If the part would be assumed to be announced, check if it is in stock, then it is active
if ($tmp === ManufacturingStatus::ANNOUNCED && $availableInStock > 0) {
return ManufacturingStatus::ACTIVE;
$tmp = ManufacturingStatus::ACTIVE;
}

return $tmp;
}
}

0 comments on commit 925f5c0

Please sign in to comment.