* Fix the unmatched return type.

This commit is contained in:
dingguodong
2023-05-23 14:14:30 +08:00
parent 3d3b64e3e9
commit fe00e55781
+2 -2
View File
@@ -947,9 +947,9 @@ class productTao extends productModel
*
* @param int $productID
* @access protected
* @return int
* @return int|float
*/
protected function getStatCountByID(string $tableName, int $productID): int
protected function getStatCountByID(string $tableName, int $productID): int|float
{
switch ($tableName)
{