fix: fix phase rotation value helper return type
[e-mobility-charging-stations-simulator.git] / src / charging-station / ChargingStationUtils.ts
index b1eb259156bceaa3b655e3ecd5000d4202bc73b9..f967ddd40ebc3df51d4597b917d6b5ed9cb8a470 100644 (file)
@@ -97,7 +97,10 @@ export class ChargingStationUtils {
     return true;
   }
 
-  public static getPhaseRotationValue(connectorId: number, numberOfPhases: number): string {
+  public static getPhaseRotationValue(
+    connectorId: number,
+    numberOfPhases: number
+  ): string | undefined {
     // AC/DC
     if (connectorId === 0 && numberOfPhases === 0) {
       return `${connectorId}.${ConnectorPhaseRotation.RST}`;