From 83445f9718a144e8fc7e76cddf606acf7b29692f Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Tue, 14 Jul 2020 17:27:30 +0000
Subject: [PATCH] Add required PHP extensions as composer.json requirements

---
 lib/TramTypes.php |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/lib/TramTypes.php b/lib/TramTypes.php
index 698d4a9..e19f7ed 100644
--- a/lib/TramTypes.php
+++ b/lib/TramTypes.php
@@ -48,4 +48,11 @@
 END;
 		parent::__construct($data);
 	}
+	
+	public function getByNumber($id) {
+		if($id == 312) {
+			$id = 316;
+		}
+		return parent::getByNumber($id);
+	}
 }

--
Gitblit v1.9.1