Commit 43806b71 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

Route::Part: Specify ->via documentation, fix arrayref vs. hashref mixup

parent f78daf2d
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -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