From 7c2d04008df30360e5d9a2a53f42d77fa10757ea Mon Sep 17 00:00:00 2001 From: Jacek Kowalski <Jacek@jacekk.info> Date: Sat, 17 Aug 2024 20:08:50 +0000 Subject: [PATCH] Implement a timeout on fetch request --- lib/TramTypes.php | 20 ++++++++++---------- 1 files changed, 10 insertions(+), 10 deletions(-) diff --git a/lib/TramTypes.php b/lib/TramTypes.php index dd99d55..fc9186f 100644 --- a/lib/TramTypes.php +++ b/lib/TramTypes.php @@ -21,14 +21,13 @@ 156 158 HW E1 0 159 159 RW E1 0 160 174 HW E1 0 -201 245 RZ 105N 0 +201 206 RZ 105N 0 +207 208 HZ 105N 0 +209 245 RZ 105N 0 246 299 HZ 105N 0 -301 310 RF GT8S 0 -311 311 RF GT8N 1 -312 312 RF GT8S 0 -313 313 RF GT8C 1 -314 317 RF GT8S 0 -318 329 RF GT8N 1 +301 309 RF GT8N 1 +310 313 RF GT8C 1 +314 329 RF GT8N 1 401 440 HL EU8N 1 451 456 HK N8C-NF 1 457 461 HK N8S-NF 1 @@ -36,7 +35,11 @@ 601 614 RP NGT6 (1) 2 615 626 RP NGT6 (2) 2 627 650 RP NGT6 (3) 2 +701 745 HY Stadler Tango II 2 801 824 RY NGT8 2 +825 839 RY Stadler Tango 2 +840 874 HY Stadler Tango 2 +875 889 RY Stadler Tango II 2 899 899 RY 126N 2 901 914 RG 2014N 2 915 936 HG 2014N 2 @@ -46,9 +49,6 @@ } public function getByNumber($id) { - if((int)$id == 250) { - $id = 410; - } return parent::getByNumber($id); } } -- Gitblit v1.9.1