summaryrefslogtreecommitdiff
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
parentd4b3dcaf0670fb41175d0856fbde5e6a1026ecb8 (diff)
perltidy2.1.3
-rw-r--r--lib/Travelynx/Command/work.pm3
-rw-r--r--lib/Travelynx/Helper/IRIS.pm12
2 files changed, 6 insertions, 9 deletions
diff --git a/lib/Travelynx/Command/work.pm b/lib/Travelynx/Command/work.pm
index 71faa3a..09649a3 100644
--- a/lib/Travelynx/Command/work.pm
+++ b/lib/Travelynx/Command/work.pm
@@ -55,7 +55,8 @@ sub run {
}
}
if ( not $found_dep ) {
- $self->app->log->debug("Did not find $dep within journey $train_id");
+ $self->app->log->debug(
+ "Did not find $dep within journey $train_id");
return;
}
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;