@@ -167,7 +167,7 @@ |
||
| 167 | 167 | } |
| 168 | 168 | |
| 169 | 169 | /** |
| 170 | - * @param $day |
|
| 170 | + * @param integer $day |
|
| 171 | 171 | * @return string |
| 172 | 172 | */ |
| 173 | 173 | private function getWeekDay($day) { |
@@ -52,7 +52,7 @@ |
||
| 52 | 52 | /** |
| 53 | 53 | * {@inheritdoc} |
| 54 | 54 | */ |
| 55 | - public function applyConstraint(CalendarResponse &$calendar_response) { |
|
| 55 | + public function applyConstraint(CalendarResponse & $calendar_response) { |
|
| 56 | 56 | parent::applyConstraint($calendar_response); |
| 57 | 57 | |
| 58 | 58 | if ($this->start_date === NULL) { |
@@ -35,7 +35,7 @@ |
||
| 35 | 35 | /** |
| 36 | 36 | * {@inheritdoc} |
| 37 | 37 | */ |
| 38 | - public function applyConstraint(CalendarResponse &$calendar_response) { |
|
| 38 | + public function applyConstraint(CalendarResponse & $calendar_response) { |
|
| 39 | 39 | parent::applyConstraint($calendar_response); |
| 40 | 40 | |
| 41 | 41 | if ($this->start_date === NULL) { |
@@ -102,8 +102,7 @@ |
||
| 102 | 102 | if ($day_of_the_week) { |
| 103 | 103 | if ($start_date && $end_date) { |
| 104 | 104 | $text = 'From @start_date to @end_date, if booking starts on @day_of_the_week'; |
| 105 | - } |
|
| 106 | - else { |
|
| 105 | + } else { |
|
| 107 | 106 | $text = 'If booking starts on @day_of_the_week'; |
| 108 | 107 | } |
| 109 | 108 | |