MCPcopy Create free account
hub / github.com/Rello/analytics / setFavorite

Method setFavorite

lib/Controller/ReportController.php:234–238  ·  view source on GitHub ↗

* set/remove the favorite flag for a report * * @param int $reportId * @param string $favorite * @return DataResponse */

(int $reportId, string $favorite)

Source from the content-addressed store, hash-verified

232 * @return DataResponse
233 */
234 #[NoAdminRequired]
235 public function setFavorite(int $reportId, string $favorite)
236 {
237 return new DataResponse($this->ReportService->setFavorite($reportId, $favorite));
238 }
239
240 /**
241 * Export report

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected