From 43806b719bfe1585b92d674fffc1ca392efe212b Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 30 Sep 2015 16:21:11 +0200 Subject: Route::Part: Specify ->via documentation, fix arrayref vs. hashref mixup --- lib/Travel/Routing/DE/EFA/Route/Part.pm | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'lib/Travel/Routing') 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 and B 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 and B, +if supported by the backend. Returns nothing / an empty list otherwise. =back -- cgit v1.2.3