X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiCSPReport.php;h=0df0ca97d1cc39ee015681acdfb4409496a6f2d6;hb=dbad540cd37617879aff6f28ce9c016dd8049d4e;hp=a4631d6f34597aea1fd8e1e0cd0cc024d235e049;hpb=a8a5f03b3b6653136c4dc5925d6bb2b806010725;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiCSPReport.php b/includes/api/ApiCSPReport.php index a4631d6f34..0df0ca97d1 100644 --- a/includes/api/ApiCSPReport.php +++ b/includes/api/ApiCSPReport.php @@ -216,6 +216,7 @@ class ApiCSPReport extends ApiBase { /** * Mark as internal. This isn't meant to be used by normal api users + * @return bool */ public function isInternal() { return true; @@ -223,6 +224,7 @@ class ApiCSPReport extends ApiBase { /** * Even if you don't have read rights, we still want your report. + * @return bool */ public function isReadMode() { return false; @@ -232,6 +234,7 @@ class ApiCSPReport extends ApiBase { * Doesn't touch db, so max lag should be rather irrelavent. * * Also, this makes sure that reports aren't lost during lag events. + * @return bool */ public function shouldCheckMaxLag() { return false;