summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;