original_string: public function deleteSiteReport($idSite)
      {
          $idReports = API::getInstance()->getReports($idSite);
  
          foreach ($idReports as $report) {
              $idReport = $report['idreport'];
              API::getInstance()->deleteReport($idReport);
          }
      }
code: public function deleteSiteReport($idSite)
      {
          $idReports = API::getInstance()->getReports($idSite);
  
          foreach ($idReports as $report) {
              $idReport = $report['idreport'];
              API::getInstance()->deleteReport($idReport);
          }
      }
code_tokens: public function deleteSiteReport ( $ idSite ) { $ idReports = API :: getInstance ( ) -> getReports ( $ idSite ) ; foreach ( $ idReports as $ report ) { $ idReport = $ report [ 'idreport' ] ; API :: getInstance ( ) -> deleteReport ( $ idReport ) ; } }
docstring: Delete reports for the website
docstring_tokens: Delete reports for the website