Clarify comment formatting in vehiclesRoute to improve readability.

This commit is contained in:
Jeppe Bundgaard
2025-09-15 15:38:07 +02:00
parent 9ee486a49e
commit b87950654b
+2 -1
View File
@@ -741,7 +741,8 @@ class vehiclesRoute
$known_regs = self::getKnownRegs($search, $options);
$booked_regs = self::getBookedRegs($search, $options);
$unknown_regs = array_filter(array_unique(array_merge([...self::getUnknownRegs($search, $options), $search]))); // Add the search term as the first item, to ensure it is included in the results
/** Prevent overlaps between the lists
/**
* Prevent overlaps between the lists
* - Booked vehicles should not be in known, unknown or verified
* - Verified vehicles should not be in known or booked
* - Known vehicles should not be in unknown