Use now() helper in place of Carbon::now()

This commit is contained in:
DariusIII
2018-05-31 10:22:08 +02:00
parent 7088cb4bee
commit 513739f6dd
38 changed files with 87 additions and 119 deletions
+2 -3
View File
@@ -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,
]