summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Helper/IRIS.pm
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2023-09-04 17:08:17 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2023-09-04 17:08:17 +0200
commitb410176e634559bda0ff5d1628d45dc6ed3df5e3 (patch)
treeb5a4cf64c025c1917fe11d0211f066fe08e5db8e /lib/Travelynx/Helper/IRIS.pm
parentd4b3dcaf0670fb41175d0856fbde5e6a1026ecb8 (diff)
perltidy2.1.3
Diffstat (limited to 'lib/Travelynx/Helper/IRIS.pm')
-rw-r--r--lib/Travelynx/Helper/IRIS.pm12
1 files changed, 4 insertions, 8 deletions
diff --git a/lib/Travelynx/Helper/IRIS.pm b/lib/Travelynx/Helper/IRIS.pm
index a529e28..2014003 100644
--- a/lib/Travelynx/Helper/IRIS.pm
+++ b/lib/Travelynx/Helper/IRIS.pm
@@ -192,27 +192,23 @@ sub route_diff {
# this branch is inefficient, but won't be taken frequently
elsif ( not( grep { $_ eq $route[$route_idx] } @sched_route ) ) {
push( @json_route,
- [ $route[$route_idx], undef, { isAdditional => 1 } ],
- );
+ [ $route[$route_idx], undef, { isAdditional => 1 } ], );
$route_idx++;
}
else {
push( @json_route,
- [ $sched_route[$sched_idx], undef, { isCancelled => 1 } ],
- );
+ [ $sched_route[$sched_idx], undef, { isCancelled => 1 } ], );
$sched_idx++;
}
}
while ( $route_idx <= $#route ) {
push( @json_route,
- [ $route[$route_idx], undef, { isAdditional => 1 } ],
- );
+ [ $route[$route_idx], undef, { isAdditional => 1 } ], );
$route_idx++;
}
while ( $sched_idx <= $#sched_route ) {
push( @json_route,
- [ $sched_route[$sched_idx], undef, { isCancelled => 1 } ],
- );
+ [ $sched_route[$sched_idx], undef, { isCancelled => 1 } ], );
$sched_idx++;
}
return @json_route;