@@ -56,7 +56,7 @@ |
||
56 | 56 | $yield = $result->yield ?: 1; |
57 | 57 | |
58 | 58 | return [ |
59 | - 'servingSize' => round($result->totalWeight ?? 0 / $yield, 0) . ' grams', |
|
59 | + 'servingSize' => round($result->totalWeight ?? 0 / $yield, 0).' grams', |
|
60 | 60 | 'calories' => round($result->totalNutrients->ENERC_KCAL->quantity ?? 0 / $yield, 0), |
61 | 61 | 'carbohydrateContent' => round($result->totalNutrients->CHOCDF->quantity ?? 0 / $yield, 1), |
62 | 62 | 'cholesterolContent' => round($result->totalNutrients->CHOLE->quantity ?? 0 / $yield, 1), |