diff --git a/src/Monolog/LogtailHandlerBuilder.php b/src/Monolog/LogtailHandlerBuilder.php index d3501db..755176e 100644 --- a/src/Monolog/LogtailHandlerBuilder.php +++ b/src/Monolog/LogtailHandlerBuilder.php @@ -136,7 +136,7 @@ public function withTimeoutMilliseconds($timeoutMs): self * @param int|null $flushIntervalMs * @return self Always returns new immutable instance */ - public function withAlwaysFlushingEveryMilliseconds($flushIntervalMs): self + public function withFlushIntervalMilliseconds($flushIntervalMs): self { $clone = clone $this; $clone->flushIntervalMs = $flushIntervalMs;