Skip to content

Commit 8340700

Browse files
committed
Fix parameter type for isStopLocationForTransportType
1 parent 73c6677 commit 8340700

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Trafiklab/Common/Model/Contract/StopLocationLookupEntry.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,12 @@ public function getWeight(): int;
5454
/**
5555
* Check if a certain mode of transport stops at this stop location.
5656
*
57-
* @param int $transportType The type of transport, one of the constants in TransportType
57+
* @param string $transportType The type of transport, one of the constants in TransportType
5858
*
5959
* @return bool Whether or not the specified type of traffic can stop in this point. In case an API doesn't provide
6060
* this information, it will always return true.
6161
*
6262
* @see TransportType
6363
*/
64-
public function isStopLocationForTransportType(int $transportType): bool;
64+
public function isStopLocationForTransportType(string $transportType): bool;
6565
}

0 commit comments

Comments
 (0)