code: public static function getHandlingObject($a, $b)
      {
          $handlingA = $a->handlingComparison;
          $handlingB = $b->handlingComparison;
  
          if (!$handlingB) {
              return $a;
          }
          if ($handlingA !== false && $handlingB !== false) {
              if ($handlingA > $handlingB) {
                  return $a;
              } else {
                  return $b;
              }
          }
  
          return $a;
      }
docs: Get handling object.
  
  @param [[@doctodo param_type:a]] $a [[@doctodo param_description:a]]
  @param [[@doctodo param_type:b]] $b [[@doctodo param_description:b]]
  
  @return [[@doctodo return_type:getHandlingObject]] [[@doctodo return_description:getHandlingObject]]