@@ -48,7 +48,6 @@ public static function make(): static
4848 * Sets a callback to be executed before all iterations for each comparison.
4949 *
5050 * @param Closure(int|string $name): mixed $callback
51- *
5251 * @return $this
5352 */
5453 public function before (Closure $ callback ): static
@@ -62,7 +61,6 @@ public function before(Closure $callback): static
6261 * Sets a callback to be executed before each iteration.
6362 *
6463 * @param Closure(int|string $name, int<1, max> $iteration): mixed $callback
65- *
6664 * @return $this
6765 */
6866 public function beforeEach (Closure $ callback ): static
@@ -76,7 +74,6 @@ public function beforeEach(Closure $callback): static
7674 * Sets a callback to be executed after all iterations for each comparison.
7775 *
7876 * @param Closure(int|string $name): mixed $callback
79- *
8077 * @return $this
8178 */
8279 public function after (Closure $ callback ): static
@@ -90,7 +87,6 @@ public function after(Closure $callback): static
9087 * Sets a callback to be executed after each iteration.
9188 *
9289 * @param Closure(int|string $name, int<1, max> $iteration, float $time, float $memory): mixed $callback
93- *
9490 * @return $this
9591 */
9692 public function afterEach (Closure $ callback ): static
@@ -104,7 +100,6 @@ public function afterEach(Closure $callback): static
104100 * Sets the number of iterations for each comparison.
105101 *
106102 * @param int<1, max> $count
107- *
108103 * @return $this
109104 */
110105 public function iterations (int $ count ): static
@@ -118,7 +113,6 @@ public function iterations(int $count): static
118113 * Enables deviation calculation and sets the number of runs.
119114 *
120115 * @param int<2, max> $count
121- *
122116 * @return $this
123117 */
124118 public function deviations (int $ count = 2 ): static
@@ -134,7 +128,6 @@ public function deviations(int $count = 2): static
134128 * Sets the rounding precision for time values.
135129 *
136130 * @param int<0, max>|null $precision The number of decimal places. Null means no rounding.
137- *
138131 * @return $this
139132 */
140133 public function round (?int $ precision ): static
@@ -160,7 +153,6 @@ public function disableProgressBar(): static
160153 * Registers callback functions for comparison.
161154 *
162155 * @param array|Closure ...$callbacks Callback functions or an array of callback functions for comparison.
163- *
164156 * @return $this
165157 */
166158 public function compare (array |Closure ...$ callbacks ): static
@@ -346,7 +338,6 @@ protected function run(mixed $name, Closure $callback, ProgressBar $progressBar)
346338 *
347339 * @param Closure $callback The callback function to execute.
348340 * @param array $parameters Parameters to pass to the callback.
349- *
350341 * @return array An array [time in milliseconds, memory in bytes].
351342 */
352343 protected function call (Closure $ callback , array $ parameters = []): array
0 commit comments