diff --git a/src/Domain/Hub/Components/Slots/ReviewsSlot.php b/src/Domain/Hub/Components/Slots/ReviewsSlot.php index cda3b22..fea89a4 100644 --- a/src/Domain/Hub/Components/Slots/ReviewsSlot.php +++ b/src/Domain/Hub/Components/Slots/ReviewsSlot.php @@ -26,9 +26,7 @@ public function getSlotHandle(): string return 'reviews-slot'; } - public function getSlotInitialValue(): void - { - } + public function getSlotInitialValue(): void {} public function getSlotPosition(): string { @@ -40,9 +38,7 @@ public function getSlotTitle(): string return 'Reviews'; } - public function updateSlotModel(): void - { - } + public function updateSlotModel(): void {} public function handleSlotSave($model, $data): void { diff --git a/tests/Unit/RegistersDynamicRelastionsTest.php b/tests/Unit/RegistersDynamicRelastionsTest.php index 841085d..1de7d69 100644 --- a/tests/Unit/RegistersDynamicRelastionsTest.php +++ b/tests/Unit/RegistersDynamicRelastionsTest.php @@ -10,19 +10,19 @@ uses(TestCase::class, RefreshDatabase::class); test('product has reviews relation', function () { - $model = new Product(); + $model = new Product; expect($model->reviews())->toBeInstanceOf(MorphMany::class); }); test('product has variantReviews relation', function () { - $model = new Product(); + $model = new Product; expect($model->variantReviews())->toBeInstanceOf(HasManyThrough::class); }); test('product variant has reviews relation', function () { - $model = new ProductVariant(); + $model = new ProductVariant; expect($model->reviews())->toBeInstanceOf(MorphMany::class); });