Skip to content

Commit

Permalink
fix: quote styles
Browse files Browse the repository at this point in the history
  • Loading branch information
YUCLing committed Oct 25, 2024
1 parent 92d30b9 commit ccded0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public function __construct(

public function handle(PostWasLiked $event): void
{
if (gettype($event->post->content) == "string" && $event->post->user && $event->post->user->id != $event->user->id) {
if (gettype($event->post->content) == 'string' && $event->post->user && $event->post->user->id != $event->user->id) {
$this->notifications->sync(
new PostLikedBlueprint($event->post, $event->user),
[$event->post->user]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public function __construct(

public function handle(PostWasUnliked $event): void
{
if (gettype($event->post->content) == "string" && $event->post->user && $event->post->user->id != $event->user->id) {
if (gettype($event->post->content) == 'string' && $event->post->user && $event->post->user->id != $event->user->id) {
$this->notifications->sync(
new PostLikedBlueprint($event->post, $event->user),
[]
Expand Down

0 comments on commit ccded0d

Please sign in to comment.