Skip to content

Commit

Permalink
PHP Linting (Pint)
Browse files Browse the repository at this point in the history
  • Loading branch information
rawilk authored and github-actions[bot] committed Oct 4, 2024
1 parent 11af8f0 commit 635d264
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
4 changes: 1 addition & 3 deletions src/Contracts/HasSingleNameColumn.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,4 @@

namespace Rawilk\LaravelCasters\Contracts;

interface HasSingleNameColumn
{
}
interface HasSingleNameColumn {}
4 changes: 1 addition & 3 deletions src/Support/Name.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,7 @@
*/
class Name implements Castable, Jsonable, JsonSerializable
{
public function __construct(protected ?string $firstName, protected ?string $lastName = null)
{
}
public function __construct(protected ?string $firstName, protected ?string $lastName = null) {}

public function __get(string $key): ?string
{
Expand Down
4 changes: 1 addition & 3 deletions tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,4 @@

use Orchestra\Testbench\TestCase as Orchestra;

class TestCase extends Orchestra
{
}
class TestCase extends Orchestra {}

0 comments on commit 635d264

Please sign in to comment.