original_string: public static function getLabelsFromTable(string $tableName, string $idColumnName, string $labelColumnName): array
    {
      $query = "
  select `%s`  id
  ,      `%s`  label
  from   `%s`
  where   nullif(`%s`,'') is not null";
  
      $query = sprintf($query, $idColumnName, $labelColumnName, $tableName, $labelColumnName);
  
      return self::executeRows($query);
    }
code: public static function getLabelsFromTable(string $tableName, string $idColumnName, string $labelColumnName): array
    {
      $query = "
  select `%s`  id
  ,      `%s`  label
  from   `%s`
  where   nullif(`%s`,'') is not null";
  
      $query = sprintf($query, $idColumnName, $labelColumnName, $tableName, $labelColumnName);
  
      return self::executeRows($query);
    }
code_tokens: public static function getLabelsFromTable ( string $ tableName , string $ idColumnName , string $ labelColumnName ) : array { $ query = "
  select `%s`  id
  ,      `%s`  label
  from   `%s`
  where   nullif(`%s`,'') is not null" ; $ query = sprintf ( $ query , $ idColumnName , $ labelColumnName , $ tableName , $ labelColumnName ) ; return self :: executeRows ( $ query ) ; }
docstring: Selects all labels from a table with labels.
  
  @param string $tableName       The table name.
  @param string $idColumnName    The name of the auto increment column.
  @param string $labelColumnName The name of the column with labels.
  
  @return array[]
docstring_tokens: Selects all labels from a table with labels .