|
@@ 76-78 (lines=3) @@
|
| 73 |
|
if ($this->ageMin != 0 && $this->ageMax != 0) { |
| 74 |
|
return $this->hasAgeMinAndMax($ageCategoryText); |
| 75 |
|
} |
| 76 |
|
if ($this->ageMin == 0 && $this->ageMax != 0) { |
| 77 |
|
return $ageCategoryText .= ' < ' . $this->ageMax . ' ' . trans('categories.years'); |
| 78 |
|
} |
| 79 |
|
if ($this->ageMin != 0 && $this->ageMax == 0) { |
| 80 |
|
return $ageCategoryText .= ' > ' . $this->ageMin . ' ' . trans('categories.years'); |
| 81 |
|
} |
|
@@ 79-81 (lines=3) @@
|
| 76 |
|
if ($this->ageMin == 0 && $this->ageMax != 0) { |
| 77 |
|
return $ageCategoryText .= ' < ' . $this->ageMax . ' ' . trans('categories.years'); |
| 78 |
|
} |
| 79 |
|
if ($this->ageMin != 0 && $this->ageMax == 0) { |
| 80 |
|
return $ageCategoryText .= ' > ' . $this->ageMin . ' ' . trans('categories.years'); |
| 81 |
|
} |
| 82 |
|
return ''; |
| 83 |
|
} |
| 84 |
|
return $ageCategories[$this->ageCategory]; |