Skip to content

Commit

Permalink
chore: fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Jan 3, 2025
1 parent 38acff8 commit e409ad1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions packages/core/src/Observers/ProductObserver.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ class ProductObserver
{
/**
* Handle the ProductVariant "deleted" event.
*
* @return void
*/
public function deleting(Product $product): void
{
Expand Down
4 changes: 2 additions & 2 deletions tests/core/Unit/Base/Traits/HasModelExtendingTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ function () {
$product->delete();

\Illuminate\Support\Facades\Event::assertDispatched(
'eloquent.deleted: ' . Product::class
'eloquent.deleted: '.Product::class
);

\Lunar\Facades\ModelManifest::replace(
Expand All @@ -90,6 +90,6 @@ function () {
$product->delete();

\Illuminate\Support\Facades\Event::assertDispatched(
'eloquent.deleted: ' . Product::class
'eloquent.deleted: '.Product::class
);
});

0 comments on commit e409ad1

Please sign in to comment.