code: public static function roots() {
      $instance = new static;
  
      return $instance->newQuery()
                      ->whereNull($instance->getParentColumnName())
                      ->orderBy($instance->getQualifiedOrderColumnName());
    }
docs: Static query scope. Returns a query scope with all root nodes.
  
  @return \Illuminate\Database\Query\Builder