Skip to content

Commit

Permalink
Code refactor
Browse files Browse the repository at this point in the history
Signed-off-by: Sam Poyigi <[email protected]>
  • Loading branch information
sampoyigi committed May 29, 2024
1 parent 6a7f1bb commit 6500b01
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"require-dev": {
"laravel/pint": "^1.2",
"larastan/larastan": "^2.4.0",
"sampoyigi/testbench": "^8.5",
"sampoyigi/testbench": "dev-main as 1.0",
"pestphp/pest-plugin-laravel": "^2.0",
"igniterlabs/ti-ext-importexport": "v4.x-dev as 4.0"
},
Expand Down
2 changes: 1 addition & 1 deletion src/Notifications/OrderCreatedNotification.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class OrderCreatedNotification extends Notification
public function getRecipients(): array
{
return User::query()->isEnabled()
->whereHasLocation($this->subject->location->getKey())
->whereHasOrDoesntHaveLocation($this->subject->location->getKey())
->get()->all();
}

Expand Down

0 comments on commit 6500b01

Please sign in to comment.