Skip to content

Commit 95ba046

Browse files
committed
chore: new code styling rules
1 parent f6a3fc3 commit 95ba046

31 files changed

+31
-61
lines changed

src/Function/Aggregate/AggregateExpression.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ abstract class AggregateExpression implements Expression
1717

1818
public function __construct(
1919
private readonly string|Expression $value,
20-
) {
21-
}
20+
) {}
2221

2322
public function getValue(Grammar $grammar): string
2423
{

src/Function/Aggregate/Count.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ class Count implements Expression
1515
public function __construct(
1616
private readonly string|Expression $value,
1717
private readonly bool $distinct = false,
18-
) {
19-
}
18+
) {}
2019

2120
public function getValue(Grammar $grammar): string
2221
{

src/Function/Aggregate/CountFilter.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ class CountFilter implements Expression
1616

1717
public function __construct(
1818
private readonly Expression $filter,
19-
) {
20-
}
19+
) {}
2120

2221
public function getValue(Grammar $grammar): string
2322
{

src/Function/Aggregate/SumFilter.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ class SumFilter implements Expression
1717
public function __construct(
1818
private readonly string|Expression $value,
1919
private readonly Expression $filter,
20-
) {
21-
}
20+
) {}
2221

2322
public function getValue(Grammar $grammar): string
2423
{

src/Function/Comparison/StrListContains.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ class StrListContains implements ConditionExpression
1818
public function __construct(
1919
private readonly string|Expression $strList,
2020
private readonly string|Expression $str,
21-
) {
22-
}
21+
) {}
2322

2423
public function getValue(Grammar $grammar)
2524
{

src/Function/Conditional/ManyArgumentsExpression.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ abstract class ManyArgumentsExpression implements Expression
2020
*/
2121
public function __construct(
2222
private readonly array $expressions,
23-
) {
24-
}
23+
) {}
2524

2625
/**
2726
* @return non-empty-array<int, float|int|string>

src/Function/Math/Abs.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ class Abs implements Expression
1616

1717
public function __construct(
1818
private readonly string|Expression $expression,
19-
) {
20-
}
19+
) {}
2120

2221
public function getValue(Grammar $grammar): string
2322
{

src/Function/String/Lower.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ class Lower implements Expression
1616

1717
public function __construct(
1818
private readonly string|Expression $expression,
19-
) {
20-
}
19+
) {}
2120

2221
public function getValue(Grammar $grammar): string
2322
{

src/Function/String/Upper.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ class Upper implements Expression
1616

1717
public function __construct(
1818
private readonly string|Expression $expression,
19-
) {
20-
}
19+
) {}
2120

2221
public function getValue(Grammar $grammar): string
2322
{

src/Language/Alias.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ class Alias implements Expression
1717
public function __construct(
1818
private readonly string|Expression $expression,
1919
private readonly string $name,
20-
) {
21-
}
20+
) {}
2221

2322
public function getValue(Grammar $grammar): string
2423
{

0 commit comments

Comments
 (0)