Laravel 数据模型时间戳 fix Call to a member function diffForHumans() on string
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class User extends Model
{
/**
* 修改这里
*
* @var array
*/
protected $dates = [
'created_at',
'updated_at',
'deleted_at',
'merged_at',
];
}