0
diffForHumans
形式の2つの日付の間の時間を取得しようとしていますが、誰もこのエラーをスローするのを助けることができますか?Laravel:diffForHumans形式(Carbon)の2つのタイムスタンプ間の時間を取得
コード:
{{ Carbon\Carbon::createFromTimestamp($clientLogin->exit_timestamp)->diffForHumans($clientLogin->enter_timestamp) }}
エラー:
Type error: Argument 1 passed to Illuminate\Cookie\Middleware\EncryptCookies::encrypt() must be an instance of Symfony\Component\HttpFoundation\Response, instance of Illuminate\View\View given