File tree Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 11
22# PHP class to logs rotation
33
4- PHP Class to rotate log files
5-
64This PHP package allows you to rotate a log file and compress it.
75
86[ ![ tests] ( https://github.com/cesargb/php-log-rotation/workflows/tests/badge.svg )] ( https://github.com/cesargb/php-log-rotation/actions )
Original file line number Diff line number Diff line change @@ -5,4 +5,4 @@ parameters:
55 - tests
66
77 # The level 9 is the highest level
8- level: 5
8+ level: 6
Original file line number Diff line number Diff line change 33namespace Cesargb \Log ;
44
55use Cesargb \Log \Exceptions \RotationFailed ;
6+ use Closure ;
67use Throwable ;
78
89trait ErrorHandler
910{
10- private $ thenCallback = null ;
11+ private ? Closure $ thenCallback = null ;
1112
12- private $ catchCallable = null ;
13+ private ? Closure $ catchCallable = null ;
1314
14- private $ finallyCallback = null ;
15+ private ? Closure $ finallyCallback = null ;
1516
1617 private ?string $ _filename = null ;
1718
You can’t perform that action at this time.
0 commit comments