From 5ed3ddc8f21dd2055d63a9087d628429b97ff375 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Sat, 17 Aug 2024 03:37:05 +0000 Subject: [PATCH] Apply fixes from StyleCI --- src/Exceptions/Exception.php | 4 +++- src/Processors/RowProcessor.php | 4 +++- src/Utilities/Config.php | 4 +++- tests/Formatters/DateFormatter.php | 4 +++- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/src/Exceptions/Exception.php b/src/Exceptions/Exception.php index 1f698541..e5e27dca 100644 --- a/src/Exceptions/Exception.php +++ b/src/Exceptions/Exception.php @@ -2,4 +2,6 @@ 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 b402b419..6b86d47c 100644 --- a/src/Processors/RowProcessor.php +++ b/src/Processors/RowProcessor.php @@ -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. diff --git a/src/Utilities/Config.php b/src/Utilities/Config.php index ae474368..8b3c6dce 100644 --- a/src/Utilities/Config.php +++ b/src/Utilities/Config.php @@ -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. diff --git a/tests/Formatters/DateFormatter.php b/tests/Formatters/DateFormatter.php index 1a4e0abe..516b901c 100644 --- a/tests/Formatters/DateFormatter.php +++ b/tests/Formatters/DateFormatter.php @@ -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 {