Skip to content

Commit 8c68a83

Browse files
yajragithub-actions[bot]
authored andcommitted
fix: pint
1 parent b0f1177 commit 8c68a83

File tree

4 files changed

+4
-12
lines changed

4 files changed

+4
-12
lines changed

src/Exceptions/Exception.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,4 @@
22

33
namespace Yajra\DataTables\Exceptions;
44

5-
class Exception extends \Exception
6-
{
7-
}
5+
class Exception extends \Exception {}

src/Processors/RowProcessor.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@ class RowProcessor
1010
/**
1111
* @param array|object $row
1212
*/
13-
public function __construct(protected array $data, protected $row)
14-
{
15-
}
13+
public function __construct(protected array $data, protected $row) {}
1614

1715
/**
1816
* Process DT RowId and Class value.

src/Utilities/Config.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@ class Config
99
/**
1010
* Config constructor.
1111
*/
12-
public function __construct(private readonly Repository $repository)
13-
{
14-
}
12+
public function __construct(private readonly Repository $repository) {}
1513

1614
/**
1715
* Check if config uses wild card search.

tests/Formatters/DateFormatter.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@
88

99
class DateFormatter implements Formatter
1010
{
11-
public function __construct(public string $format = 'Y-m-d h:i a')
12-
{
13-
}
11+
public function __construct(public string $format = 'Y-m-d h:i a') {}
1412

1513
public function format($value, $row): string
1614
{

0 commit comments

Comments
 (0)