Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
denisyukphp committed Jun 21, 2024
1 parent 4c379e5 commit 13cc83f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ use TmpFileManager\TmpFileManagerBuilder;
$garbageCollectionHandler = new GarbageCollectionHandler(
probability: 1,
divisor: 100,
lifetime: 3_600,
lifetime: 3600,
processor: new AsyncProcessor(),
);

Expand Down Expand Up @@ -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()
;

Expand Down

0 comments on commit 13cc83f

Please sign in to comment.