File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed
pfSense-pkg-RESTAPI/files/usr/local/pkg/RESTAPI/Core Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -8,18 +8,14 @@ use Attribute;
88 * A class to represent retry settings for test cases. This is intended to be defined in methods as a method attribute.
99 */
1010#[Attribute(Attribute::TARGET_METHOD )]
11- class TestCaseRetry
12- {
13-
11+ class TestCaseRetry {
1412 /**
1513 * @param int $retries The number of retries to attempt
1614 * @param int $delay The delay in seconds between retries
1715 */
18- public function __construct (public int $ retries = 0 , public int $ delay = 0 )
19- {
16+ public function __construct (public int $ retries = 0 , public int $ delay = 0 ) {
2017 # Ensure values are non-negative
2118 $ this ->retries = max (0 , $ retries );
2219 $ this ->delay = max (0 , $ delay );
2320 }
24-
25- }
21+ }
You can’t perform that action at this time.
0 commit comments