Skip to content

Commit

Permalink
PHP Linting (Pint)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lakshan-Madushanka authored and github-actions[bot] committed Jul 10, 2024
1 parent e8fd7bc commit 422f013
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
3 changes: 1 addition & 2 deletions app/DataObjects/Errors/ErrorFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ class ErrorFilter implements Arrayable
public function __construct(
public readonly string $name = '',
public readonly string $category = '',
) {
}
) {}

public function toArray(): array
{
Expand Down
3 changes: 1 addition & 2 deletions app/DataObjects/Errors/LinkFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ class LinkFilter implements Arrayable
public function __construct(
public readonly string $search = '',
public readonly string $category = '',
) {
}
) {}

public function toArray(): array
{
Expand Down
4 changes: 1 addition & 3 deletions app/ViewModels/Error/GetErrorsViewModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@

class GetErrorsViewModel extends ViewModel
{
public function __construct(private readonly ErrorFilter $filter = new ErrorFilter())
{
}
public function __construct(private readonly ErrorFilter $filter = new ErrorFilter()) {}

/**
* @return LengthAwarePaginator<Model>
Expand Down

0 comments on commit 422f013

Please sign in to comment.