Skip to content

Commit

Permalink
Prevent duplicated key error.
Browse files Browse the repository at this point in the history
  • Loading branch information
creator4ever committed Aug 22, 2021
1 parent 4aef194 commit 17d28ac
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Traits/Visitable.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ public function visit($ip = '')
'date' => Carbon::now()->toDateString(),
'visitable_id' => $this->id,
'visitable_type' => (new \ReflectionClass($this))->getName(),
'created_at' => now(),
'updated_at' => now(),
]
);
}
Expand Down

0 comments on commit 17d28ac

Please sign in to comment.