From b204d402794a790fa0b86d4ed8cb9783be681850 Mon Sep 17 00:00:00 2001 From: Konstantin Auffinger Date: Fri, 22 Nov 2024 15:18:12 +0100 Subject: [PATCH] fix: align overrides with previous change --- src/Facades/Testing/RecordFactories/EstatePictureFactory.php | 2 +- src/Facades/Testing/RecordFactories/FileUploadFactory.php | 2 +- .../RecordFactories/MarketPlaceUnlockProviderFactory.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Facades/Testing/RecordFactories/EstatePictureFactory.php b/src/Facades/Testing/RecordFactories/EstatePictureFactory.php index 840c37d..094eea2 100644 --- a/src/Facades/Testing/RecordFactories/EstatePictureFactory.php +++ b/src/Facades/Testing/RecordFactories/EstatePictureFactory.php @@ -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; diff --git a/src/Facades/Testing/RecordFactories/FileUploadFactory.php b/src/Facades/Testing/RecordFactories/FileUploadFactory.php index c3c9d86..b2f5801 100644 --- a/src/Facades/Testing/RecordFactories/FileUploadFactory.php +++ b/src/Facades/Testing/RecordFactories/FileUploadFactory.php @@ -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; } diff --git a/src/Facades/Testing/RecordFactories/MarketPlaceUnlockProviderFactory.php b/src/Facades/Testing/RecordFactories/MarketPlaceUnlockProviderFactory.php index 3e41a21..6eaeb21 100644 --- a/src/Facades/Testing/RecordFactories/MarketPlaceUnlockProviderFactory.php +++ b/src/Facades/Testing/RecordFactories/MarketPlaceUnlockProviderFactory.php @@ -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; }