diff --git a/src/Exceptions/Exception.php b/src/Exceptions/Exception.php index e5e27dca..1f698541 100644 --- a/src/Exceptions/Exception.php +++ b/src/Exceptions/Exception.php @@ -2,6 +2,4 @@ namespace Yajra\DataTables\Exceptions; -class Exception extends \Exception -{ -} +class Exception extends \Exception {} diff --git a/src/Processors/RowProcessor.php b/src/Processors/RowProcessor.php index 6b86d47c..b402b419 100644 --- a/src/Processors/RowProcessor.php +++ b/src/Processors/RowProcessor.php @@ -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. diff --git a/src/Utilities/Config.php b/src/Utilities/Config.php index 8b3c6dce..ae474368 100644 --- a/src/Utilities/Config.php +++ b/src/Utilities/Config.php @@ -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. diff --git a/tests/Formatters/DateFormatter.php b/tests/Formatters/DateFormatter.php index 516b901c..1a4e0abe 100644 --- a/tests/Formatters/DateFormatter.php +++ b/tests/Formatters/DateFormatter.php @@ -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 {