Skip to content

Commit 635d264

Browse files
rawilkgithub-actions[bot]
authored andcommitted
PHP Linting (Pint)
1 parent 11af8f0 commit 635d264

File tree

3 files changed

+3
-9
lines changed

3 files changed

+3
-9
lines changed

src/Contracts/HasSingleNameColumn.php

+1-3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,4 @@
44

55
namespace Rawilk\LaravelCasters\Contracts;
66

7-
interface HasSingleNameColumn
8-
{
9-
}
7+
interface HasSingleNameColumn {}

src/Support/Name.php

+1-3
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,7 @@
2828
*/
2929
class Name implements Castable, Jsonable, JsonSerializable
3030
{
31-
public function __construct(protected ?string $firstName, protected ?string $lastName = null)
32-
{
33-
}
31+
public function __construct(protected ?string $firstName, protected ?string $lastName = null) {}
3432

3533
public function __get(string $key): ?string
3634
{

tests/TestCase.php

+1-3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,4 @@
66

77
use Orchestra\Testbench\TestCase as Orchestra;
88

9-
class TestCase extends Orchestra
10-
{
11-
}
9+
class TestCase extends Orchestra {}

0 commit comments

Comments
 (0)