<?php
/**
 * Queue-focused admin formatting.
 *
 * @package ScheduledChanges
 */

namespace ScheduledChanges\Repository;

// phpcs:disable Squiz.Commenting.FunctionComment.ParamCommentFullStop -- Compact forwarding annotations document the facade surface inline.

/** Formats execution run rows. */
final class AdminQueueDisplayFormatter {
	private AdminDashboardValueFormatter $values;

	/** @param AdminDashboardValueFormatter $values Shared value formatter. */
	public function __construct( AdminDashboardValueFormatter $values ) {
		$this->values = $values;
	}

	/**
	 * @param array<string,mixed> $row Row.
	 * @return array<string,mixed>
	 */
	public function runRow( array $row ): array {
		return $this->values->runRow( $row );
	}
}
