From e2e94c0e575cca6ebbb39ea7a72d485e04029d9f Mon Sep 17 00:00:00 2001 From: Andrey Helldar Date: Fri, 1 May 2026 21:37:10 +0300 Subject: [PATCH] Add docblock for `snapshots` method --- src/Benchmark.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/Benchmark.php b/src/Benchmark.php index 58d19e2..ec2345c 100644 --- a/src/Benchmark.php +++ b/src/Benchmark.php @@ -44,6 +44,13 @@ public static function make(): static return new static; } + /** + * Sets the directory for storing benchmark snapshots. + * + * @param string $directory + * + * @return $this + */ public function snapshots(string $directory): static { $this->snapshot->location($directory);