Skip to content

Commit

Permalink
fix: pint
Browse files Browse the repository at this point in the history
  • Loading branch information
yajra authored and github-actions[bot] committed Jul 3, 2024
1 parent b0f1177 commit 8c68a83
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 12 deletions.
4 changes: 1 addition & 3 deletions src/Exceptions/Exception.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,4 @@

namespace Yajra\DataTables\Exceptions;

class Exception extends \Exception
{
}
class Exception extends \Exception {}
4 changes: 1 addition & 3 deletions src/Processors/RowProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@ class RowProcessor
/**
* @param array|object $row
*/
public function __construct(protected array $data, protected $row)
{
}
public function __construct(protected array $data, protected $row) {}

/**
* Process DT RowId and Class value.
Expand Down
4 changes: 1 addition & 3 deletions src/Utilities/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ class Config
/**
* Config constructor.
*/
public function __construct(private readonly Repository $repository)
{
}
public function __construct(private readonly Repository $repository) {}

/**
* Check if config uses wild card search.
Expand Down
4 changes: 1 addition & 3 deletions tests/Formatters/DateFormatter.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@

class DateFormatter implements Formatter
{
public function __construct(public string $format = 'Y-m-d h:i a')
{
}
public function __construct(public string $format = 'Y-m-d h:i a') {}

public function format($value, $row): string
{
Expand Down

0 comments on commit 8c68a83

Please sign in to comment.