Skip to content

Commit

Permalink
style: fix (updated) code style
Browse files Browse the repository at this point in the history
  • Loading branch information
JaZo committed Mar 4, 2024
1 parent b0895bc commit 9e04f36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/EncryptedModelTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ public function itEncryptsDataOnUpdate(): void
// expectations
}

private function getModelInstance(Builder $query = null, bool $exists = false): EncryptedModel
private function getModelInstance(?Builder $query = null, bool $exists = false): EncryptedModel
{
return new class($query, $exists) extends EncryptedModel {
protected $guarded = [];
Expand All @@ -135,7 +135,7 @@ private function getModelInstance(Builder $query = null, bool $exists = false):

private $query;

public function __construct(Builder $query = null, $exists = false)
public function __construct(?Builder $query = null, $exists = false)
{
parent::__construct([]);

Expand Down

0 comments on commit 9e04f36

Please sign in to comment.