Skip to content

Commit ddcdd0f

Browse files
committed
fix(chore): fix code formatting issues
1 parent 9e467a9 commit ddcdd0f

4 files changed

Lines changed: 7 additions & 13 deletions

File tree

src/Filterable/Events/FilterApplied.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,5 @@ public function __construct(
1414
* @var array<string, mixed>
1515
*/
1616
public readonly array $filters
17-
) {
18-
}
17+
) {}
1918
}

src/Filterable/Events/FilterApplying.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,5 @@ public function __construct(
1414
* @var array<string, mixed>
1515
*/
1616
public readonly array $options
17-
) {
18-
}
17+
) {}
1918
}

src/Filterable/Events/FilterFailed.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,5 @@ public function __construct(
1212
public readonly Filter $filter,
1313
public readonly Builder $builder,
1414
public readonly Throwable $exception
15-
) {
16-
}
15+
) {}
1716
}

tests/Integration/FilterLifecycleTest.php

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,9 @@ protected function status(string $value): void
9090

9191
protected function createMockUser(int $id)
9292
{
93-
$user = new class($id) implements \Illuminate\Contracts\Auth\Authenticatable {
94-
public function __construct(public int $identifier)
95-
{
96-
}
93+
$user = new class($id) implements \Illuminate\Contracts\Auth\Authenticatable
94+
{
95+
public function __construct(public int $identifier) {}
9796

9897
public function getAuthIdentifierName()
9998
{
@@ -120,9 +119,7 @@ public function getRememberToken()
120119
return null;
121120
}
122121

123-
public function setRememberToken($value): void
124-
{
125-
}
122+
public function setRememberToken($value): void {}
126123

127124
public function getRememberTokenName()
128125
{

0 commit comments

Comments
 (0)