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 Sep 27, 2023
1 parent 6aa894a commit 2371e2a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public function getDriver(): Driver
return $this->driver;
}

public function context(?Context $context = null): self
public function context(Context $context = null): self
{
$this->context = $context;

Expand Down
2 changes: 1 addition & 1 deletion src/Support/ContextSerializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

class ContextSerializer
{
public function serialize(?Context $context = null): string
public function serialize(Context $context = null): string
{
return serialize($context);
}
Expand Down
2 changes: 1 addition & 1 deletion tests/Support/Models/Company.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@

class Company extends Model
{
use HasSettings;
use HasFactory;
use HasSettings;

protected static function newFactory(): CompanyFactory
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Support/Models/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@

class User extends Model
{
use HasSettings;
use HasFactory;
use HasSettings;

protected static function newFactory(): UserFactory
{
Expand Down

0 comments on commit 2371e2a

Please sign in to comment.