diff --git a/src/applications/project/order/PhabricatorProjectColumnCreatedOrder.php b/src/applications/project/order/PhabricatorProjectColumnCreatedOrder.php index 9fd2145886..5652a96731 100644 --- a/src/applications/project/order/PhabricatorProjectColumnCreatedOrder.php +++ b/src/applications/project/order/PhabricatorProjectColumnCreatedOrder.php @@ -27,8 +27,8 @@ final class PhabricatorProjectColumnCreatedOrder protected function newSortVectorForObject($object) { return array( - -(int)$object->getDateCreated(), - -(int)$object->getID(), + -1 * (int)$object->getDateCreated(), + -1 * (int)$object->getID(), ); } diff --git a/src/applications/project/order/PhabricatorProjectColumnPointsOrder.php b/src/applications/project/order/PhabricatorProjectColumnPointsOrder.php index ad75f6135b..3cf758cbc8 100644 --- a/src/applications/project/order/PhabricatorProjectColumnPointsOrder.php +++ b/src/applications/project/order/PhabricatorProjectColumnPointsOrder.php @@ -42,8 +42,8 @@ final class PhabricatorProjectColumnPointsOrder return array( $overall_order, - -(double)$points, - -(int)$object->getID(), + -1.0 * (double)$points, + -1 * (int)$object->getID(), ); } diff --git a/src/applications/project/order/PhabricatorProjectColumnPriorityOrder.php b/src/applications/project/order/PhabricatorProjectColumnPriorityOrder.php index 1a73145148..10fcafad76 100644 --- a/src/applications/project/order/PhabricatorProjectColumnPriorityOrder.php +++ b/src/applications/project/order/PhabricatorProjectColumnPriorityOrder.php @@ -39,7 +39,7 @@ final class PhabricatorProjectColumnPriorityOrder private function newSortVectorForPriority($priority) { return array( - -(int)$priority, + -1 * (int)$priority, ); }