summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2015-09-30 16:21:11 +0200
committerDaniel Friesel <derf@finalrewind.org>2015-09-30 16:21:11 +0200
commit43806b719bfe1585b92d674fffc1ca392efe212b (patch)
tree5d3802372fbcba35c3f6b24dbd9a087ea37b6c24
parentf78daf2da55a175ddd136a737f13580db02e602f (diff)
Route::Part: Specify ->via documentation, fix arrayref vs. hashref mixup
-rw-r--r--lib/Travel/Routing/DE/EFA/Route/Part.pm7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/Travel/Routing/DE/EFA/Route/Part.pm b/lib/Travel/Routing/DE/EFA/Route/Part.pm
index 2e0ae9e..0aa15e0 100644
--- a/lib/Travel/Routing/DE/EFA/Route/Part.pm
+++ b/lib/Travel/Routing/DE/EFA/Route/Part.pm
@@ -310,10 +310,9 @@ In those cases, B<train_destination> and B<train_line> are usually empty.
=item $part->via
-List of stops passed between departure_stop and arrival_stop, as
-C<< [ "DD.MM.YYYY", "HH:MM", stop, platform ] >> hashrefs.
-
-May be empty, these are not always reported by efa.vrr.de.
+Returns a list of C<< [ "DD.MM.YYYY", "HH:MM", stop, platform ] >> arrayrefs
+encoding the stops passed between B<departure_stop> and B<arrival_stop>,
+if supported by the backend. Returns nothing / an empty list otherwise.
=back