Fixed phpstan bug

This commit is contained in:
Jan Böhmer 2024-03-04 22:42:24 +01:00
parent 0c53f5e186
commit 925f5c0ce0

View file

@ -319,7 +319,9 @@ class MouserProvider implements InfoProviderInterface
//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;
}
}