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

Method setFavorite

lib/Controller/ReportController.php:224–228  ·  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

222 * @return DataResponse
223 */
224 #[NoAdminRequired]
225 public function setFavorite(int $reportId, string $favorite)
226 {
227 return new DataResponse($this->ReportService->setFavorite($reportId, $favorite));
228 }
229
230 /**
231 * Export report

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected