title: Method Illuminate\Database\Eloquent\Collection::addEagerConstraints does not exist LARAVEL
body: <p>I need help, don't see anything suspicious :c thanks for help ! </p>
  
  <p><code>Error Collection::addEagerConstraints does not exist</code> occurs after the call:</p>
  
  <pre><code> public function show(Request $request, User $user)
   {
          $user-&gt;load('permissions');
          dd($with);
          return UserResource::make($user);
   } 
  </code></pre>
  
  <p>User Model:</p>
  
  <pre><code>class User extends Authenticatable
  {
      (...)
  
      //////////////////////////////////////////////////////////////////////////////////////////
      ///
      ///  Relationships
      ///
      //////////////////////////////////////////////////////////////////////////////////////////
  
      /**
       * Relationship to permissions
       *
       * @return RolePermissions
       */
      public function permissions()
      {
          return $this-&gt;role()-&gt;first()-&gt;permissions;
      }
  }
  </code></pre>