diff --git a/services/StockService.php b/services/StockService.php index 90483b1f..0b2f5fc4 100644 --- a/services/StockService.php +++ b/services/StockService.php @@ -851,7 +851,7 @@ class StockService extends BaseService return $returnData; } - public function GetProductStockEntries($productId, $excludeOpened = false, $allowSubproductSubstitution = false) + public function GetProductStockEntries(int $productId, $excludeOpened = false, $allowSubproductSubstitution = false) { $sqlWhereProductId = 'product_id = ' . $productId; if ($allowSubproductSubstitution)