diff options
author | Daniel Friesel <derf@finalrewind.org> | 2015-09-30 16:21:11 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2015-09-30 16:21:11 +0200 |
commit | 43806b719bfe1585b92d674fffc1ca392efe212b (patch) | |
tree | 5d3802372fbcba35c3f6b24dbd9a087ea37b6c24 /lib/Travel/Routing/DE | |
parent | f78daf2da55a175ddd136a737f13580db02e602f (diff) |
Route::Part: Specify ->via documentation, fix arrayref vs. hashref mixup
Diffstat (limited to 'lib/Travel/Routing/DE')
-rw-r--r-- | lib/Travel/Routing/DE/EFA/Route/Part.pm | 7 |
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 |