Skip to content

Commit

Permalink
Merge pull request #2 from denisyukphp/5.0.x
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksandr Denisyuk authored Jun 21, 2024
2 parents 66e36ef + 13cc83f commit 018c7fc
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 018c7fc

Please sign in to comment.