public static function addRow(DetailTable $table, $header, ?string $text): void
  {
    if ($text!==null && $text!=='')
    {
      $table->addRow($header, ['class' => 'text'], $text);
    }
    else
    {
      $table->addRow($header);
    }
  }