original_string: public function deletePictures($ids)
      {
          $pictures = $this->pictures()->whereIn('id', $ids)->get();
  
          $pictures->each(function ($item) {
              $item->delete();
          });
      }
code: public function deletePictures($ids)
      {
          $pictures = $this->pictures()->whereIn('id', $ids)->get();
  
          $pictures->each(function ($item) {
              $item->delete();
          });
      }
code_tokens: public function deletePictures ( $ ids ) { $ pictures = $ this -> pictures ( ) -> whereIn ( 'id' , $ ids ) -> get ( ) ; $ pictures -> each ( function ( $ item ) { $ item -> delete ( ) ; } ) ; }
docstring: Deletes the given pictures from the model.
  
  @param  array $ids
  
  @return void
docstring_tokens: Deletes the given pictures from the model .