original_string: protected function getSoftDeleteMethods($model)
      {
          $traits = class_uses(get_class($model), true);
          if (in_array('Illuminate\\Database\\Eloquent\\SoftDeletes', $traits)) {
              $this->setMethod('forceDelete', 'bool|null', []);
              $this->setMethod('restore', 'bool|null', []);
  
              $this->setMethod('withTrashed', '\Illuminate\Database\Query\Builder|\\' . get_class($model), []);
              $this->setMethod('withoutTrashed', '\Illuminate\Database\Query\Builder|\\' . get_class($model), []);
              $this->setMethod('onlyTrashed', '\Illuminate\Database\Query\Builder|\\' . get_class($model), []);
          }
      }
code: protected function getSoftDeleteMethods($model)
      {
          $traits = class_uses(get_class($model), true);
          if (in_array('Illuminate\\Database\\Eloquent\\SoftDeletes', $traits)) {
              $this->setMethod('forceDelete', 'bool|null', []);
              $this->setMethod('restore', 'bool|null', []);
  
              $this->setMethod('withTrashed', '\Illuminate\Database\Query\Builder|\\' . get_class($model), []);
              $this->setMethod('withoutTrashed', '\Illuminate\Database\Query\Builder|\\' . get_class($model), []);
              $this->setMethod('onlyTrashed', '\Illuminate\Database\Query\Builder|\\' . get_class($model), []);
          }
      }
code_tokens: protected function getSoftDeleteMethods ( $ model ) { $ traits = class_uses ( get_class ( $ model ) , true ) ; if ( in_array ( 'Illuminate\\Database\\Eloquent\\SoftDeletes' , $ traits ) ) { $ this -> setMethod ( 'forceDelete' , 'bool|null' , [ ] ) ; $ this -> setMethod ( 'restore' , 'bool|null' , [ ] ) ; $ this -> setMethod ( 'withTrashed' , '\Illuminate\Database\Query\Builder|\\' . get_class ( $ model ) , [ ] ) ; $ this -> setMethod ( 'withoutTrashed' , '\Illuminate\Database\Query\Builder|\\' . get_class ( $ model ) , [ ] ) ; $ this -> setMethod ( 'onlyTrashed' , '\Illuminate\Database\Query\Builder|\\' . get_class ( $ model ) , [ ] ) ; } }
docstring: Generates methods provided by the SoftDeletes trait
  @param \Illuminate\Database\Eloquent\Model $model
docstring_tokens: Generates methods provided by the SoftDeletes trait