1. @for ($i = 0; $i < $edital->numParticipantes; $i++) @php $participante = null; if ($projeto->participantes->keys()->contains($i)) { $participante = $projeto->participantes[$i]; } @endphp @endfor