code: public function findLastVersionByType($siteId, $type = NodeInterface::TYPE_DEFAULT)
      {
          return $this->prepareFindLastVersion($type, $siteId, false);
      }
docs: @param string $siteId
  @param string $type
  
  @return array