@php $is_reply = (isset($is_reply) && $is_reply); @endphp
  • Comment by {{ $comment->createdBy->name }}:
    {{ $comment->comment_text }} @if (!$is_reply && $comment->depth() < UserConfig::get('photo_comments_thread_depth'))

    @endif