Update AllocationsRelationManager.php

Remove useless range order
This commit is contained in:
MartinOscar 2024-06-03 07:11:09 +02:00 committed by GitHub
parent 189d564f87
commit f3171939a4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -113,7 +113,7 @@ class AllocationsRelationManager extends RelationManager
$start = max((int) $start, 0);
$end = min((int) $end, 2 ** 16 - 1);
$range = $start <= $end ? range($start, $end) : range($end, $start);
$range = range($start, $end);
foreach ($range as $i) {
$ports->push($i);
}