@@ -322,7 +322,7 @@ discard block |
||
| 322 | 322 | $review = [ |
| 323 | 323 | 'type' => 'Review', |
| 324 | 324 | 'author' => $rating['author'], |
| 325 | - 'name' => $this->name . ' ' . Craft::t('recipe', 'Review'), |
|
| 325 | + 'name' => $this->name.' '.Craft::t('recipe', 'Review'), |
|
| 326 | 326 | 'description' => $rating['review'], |
| 327 | 327 | 'reviewRating' => [ |
| 328 | 328 | 'type' => 'Rating', |
@@ -338,13 +338,13 @@ discard block |
||
| 338 | 338 | } |
| 339 | 339 | |
| 340 | 340 | if ($this->prepTime) { |
| 341 | - $recipeJSONLD['prepTime'] = 'PT' . $this->prepTime . 'M'; |
|
| 341 | + $recipeJSONLD['prepTime'] = 'PT'.$this->prepTime.'M'; |
|
| 342 | 342 | } |
| 343 | 343 | if ($this->cookTime) { |
| 344 | - $recipeJSONLD['cookTime'] = 'PT' . $this->cookTime . 'M'; |
|
| 344 | + $recipeJSONLD['cookTime'] = 'PT'.$this->cookTime.'M'; |
|
| 345 | 345 | } |
| 346 | 346 | if ($this->totalTime) { |
| 347 | - $recipeJSONLD['totalTime'] = 'PT' . $this->totalTime . 'M'; |
|
| 347 | + $recipeJSONLD['totalTime'] = 'PT'.$this->totalTime.'M'; |
|
| 348 | 348 | } |
| 349 | 349 | |
| 350 | 350 | return $recipeJSONLD; |
@@ -538,11 +538,11 @@ discard block |
||
| 538 | 538 | $units = rtrim($units); |
| 539 | 539 | $units = rtrim($units, 's'); |
| 540 | 540 | } |
| 541 | - $ingredient .= ' ' . $units; |
|
| 541 | + $ingredient .= ' '.$units; |
|
| 542 | 542 | } |
| 543 | 543 | } |
| 544 | 544 | if ($row['ingredient']) { |
| 545 | - $ingredient .= ' ' . $row['ingredient']; |
|
| 545 | + $ingredient .= ' '.$row['ingredient']; |
|
| 546 | 546 | } |
| 547 | 547 | if ($raw) { |
| 548 | 548 | $ingredient = Template::raw($ingredient); |
@@ -703,8 +703,8 @@ discard block |
||
| 703 | 703 | */ |
| 704 | 704 | public function getServes(): string |
| 705 | 705 | { |
| 706 | - if(!empty($this->servesUnit)) { |
|
| 707 | - return $this->serves . ' ' . $this->servesUnit; |
|
| 706 | + if (!empty($this->servesUnit)) { |
|
| 707 | + return $this->serves.' '.$this->servesUnit; |
|
| 708 | 708 | } else { |
| 709 | 709 | return $this->serves; |
| 710 | 710 | } |