original_string: public function formExtendQuery($query)
      {
          if (!$this->user->isSuperUser()) {
              $query->where('is_superuser', false);
          }
  
          // Ensure soft-deleted records can still be managed
          $query->withTrashed();
      }
code: public function formExtendQuery($query)
      {
          if (!$this->user->isSuperUser()) {
              $query->where('is_superuser', false);
          }
  
          // Ensure soft-deleted records can still be managed
          $query->withTrashed();
      }
code_tokens: public function formExtendQuery ( $ query ) { if ( ! $ this -> user -> isSuperUser ( ) ) { $ query -> where ( 'is_superuser' , false ) ; } // Ensure soft-deleted records can still be managed $ query -> withTrashed ( ) ; }
docstring: Extends the form query to prevent non-superusers from accessing superusers at all
docstring_tokens: Extends the form query to prevent non - superusers from accessing superusers at all