mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Use now() helper in place of Carbon::now()
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Support\Carbon;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
@@ -147,8 +146,8 @@ class ReleaseComment extends Model
|
||||
'gid' => $gid,
|
||||
'text' => $text,
|
||||
'users_id' => $userid,
|
||||
'created_at' => Carbon::now(),
|
||||
'updated_at' => Carbon::now(),
|
||||
'created_at' => now(),
|
||||
'updated_at' => now(),
|
||||
'host' => $host,
|
||||
'username' => $username,
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user