Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply fixes from StyleCI #3181

Merged
merged 1 commit into from
Oct 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading