Skip to content

Commit cd716e5

Browse files
style: run prettier on changed files
1 parent ff9b8c4 commit cd716e5

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

pfSense-pkg-RESTAPI/files/usr/local/pkg/RESTAPI/Core/TestCaseRetry.inc

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff 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+
}

0 commit comments

Comments
 (0)