From 13cc83ff5d302282211b02b8f3ee626b3fc13560 Mon Sep 17 00:00:00 2001 From: Aleksandr Denisyuk Date: Fri, 21 Jun 2024 12:46:48 +0300 Subject: [PATCH] Update docs --- docs/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/index.md b/docs/index.md index 18647be..10c46e1 100644 --- a/docs/index.md +++ b/docs/index.md @@ -152,7 +152,7 @@ use TmpFileManager\TmpFileManagerBuilder; $garbageCollectionHandler = new GarbageCollectionHandler( probability: 1, divisor: 100, - lifetime: 3_600, + lifetime: 3600, processor: new AsyncProcessor(), ); @@ -230,7 +230,7 @@ use TmpFileManager\Event\TmpFilePostRemove; $tmpFileManager = (new TmpFileManagerBuilder()) ->withEventListener(TmpFileOnCreate::class, static fn (TmpFileOnCreate $tmpFileOnCreate) => /* ... */) - ->withEventListener(TmpFilePostRemove::class, static fn (TmpFileOnCreate $tmpFileOnCreate) => /* ... */) + ->withEventListener(TmpFilePostRemove::class, static fn (TmpFilePostRemove $tmpFilePostRemove) => /* ... */) ->build() ;