Skip to content

Commit

Permalink
fix: align overrides with previous change
Browse files Browse the repository at this point in the history
  • Loading branch information
kauffinger committed Nov 22, 2024
1 parent 88213bc commit b204d40
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class EstatePictureFactory extends BaseFactory
'estateMainId' => 1,
];

public function id(int $id): static
public function id(int|string $id): static
{
$this->id = $id;
$this->elements['estateId'] = $id;
Expand Down
2 changes: 1 addition & 1 deletion src/Facades/Testing/RecordFactories/FileUploadFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class FileUploadFactory extends BaseFactory
{
use SuccessTrait;

public function id(int $id): static
public function id(int|string $id): static
{
return $this;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class MarketPlaceUnlockProviderFactory extends BaseFactory
{
use SuccessTrait;

public function id(int $id): static
public function id(int|string $id): static
{
return $this;
}
Expand Down

0 comments on commit b204d40

Please sign in to comment.