summaryrefslogtreecommitdiff
path: root/lib/Travel/Routing
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Travel/Routing')
-rw-r--r--lib/Travel/Routing/DE/VRR/Route/Part.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Travel/Routing/DE/VRR/Route/Part.pm b/lib/Travel/Routing/DE/VRR/Route/Part.pm
index 9c35196..ae5e916 100644
--- a/lib/Travel/Routing/DE/VRR/Route/Part.pm
+++ b/lib/Travel/Routing/DE/VRR/Route/Part.pm
@@ -47,7 +47,7 @@ sub extra {
sub via {
my ($self) = @_;
- return ${ $self->{via} // [] };
+ return @{ $self->{via} // [] };
}
1;