Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Aug 17, 2024
1 parent 05544a6 commit 5ed3ddc
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
4 changes: 3 additions & 1 deletion src/Exceptions/Exception.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@

namespace Yajra\DataTables\Exceptions;

class Exception extends \Exception {}
class Exception extends \Exception
{
}
4 changes: 3 additions & 1 deletion src/Processors/RowProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ 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: 3 additions & 1 deletion src/Utilities/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ 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: 3 additions & 1 deletion tests/Formatters/DateFormatter.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@

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 5ed3ddc

Please sign in to comment.