summaryrefslogtreecommitdiff
path: root/app/Http
diff options
context:
space:
mode:
authorGreg Roach <greg@subaqua.co.uk>2021-10-29 16:11:54 +0100
committerGreg Roach <greg@subaqua.co.uk>2021-10-29 16:19:12 +0100
commitdd71ff6b9f8508a26dabb8d3203ec5b96f870208 (patch)
tree4e3edda14b1412b5ad80c73e4a7ebadc79353b2f /app/Http
parent782714c25b2e0603372cf1f9c70d436bee339713 (diff)
downloadwebtrees-dd71ff6b9f8508a26dabb8d3203ec5b96f870208.tar.gz
webtrees-dd71ff6b9f8508a26dabb8d3203ec5b96f870208.tar.bz2
webtrees-dd71ff6b9f8508a26dabb8d3203ec5b96f870208.zip
CodeStyle - remove unnecessary parentheses
Diffstat (limited to 'app/Http')
-rw-r--r--app/Http/RequestHandlers/CalendarEvents.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Http/RequestHandlers/CalendarEvents.php b/app/Http/RequestHandlers/CalendarEvents.php
index 20a81df93a..550635d49d 100644
--- a/app/Http/RequestHandlers/CalendarEvents.php
+++ b/app/Http/RequestHandlers/CalendarEvents.php
@@ -184,9 +184,9 @@ class CalendarEvents implements RequestHandlerInterface
for ($week_day = 0; $week_day < $days_in_week; ++$week_day) {
$day_name = $cal_date->dayNames(($week_day + $week_start) % $days_in_week);
if ($week_day === $weekend_start || $week_day === $weekend_end) {
- echo '<th class="wt-page-options-label weekend" width="' . (100 / $days_in_week) . '%">', $day_name, '</th>';
+ echo '<th class="wt-page-options-label weekend" width="', 100 / $days_in_week, '%">', $day_name, '</th>';
} else {
- echo '<th class="wt-page-options-label" width="' . (100 / $days_in_week) . '%">', $day_name, '</th>';
+ echo '<th class="wt-page-options-label" width="', 100 / $days_in_week, '%">', $day_name, '</th>';
}
}
echo '</tr>';