Support the ongoing development of →
Views Requests Laravel
Last updated 2 years ago.

Hi there, you are using empty which is a php function that checks if a variable is false, or null, or not declared. The laravel collection however does exist. You should use isEmpty

   Dont show
  <div class="section-title">
      <h2><span>Related Posts</span></h2>

Sign in to participate in this thread!


Your banner here too?


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 - All rights reserved.