Skip to content

Commit 1a9240f

Browse files
committed
remove mentions of demo in annotation generator docs
1 parent 18f6b9e commit 1a9240f

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

Annotations/AnnotationGenerator.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -854,7 +854,7 @@ protected function getApplicableDemoExampleUrls(string $pluginName, string $meth
854854
}
855855

856856
/**
857-
* Query demo.matomo.cloud for report metadata which can later be used to help determine good example URLs for
857+
* Query for report metadata which can later be used to help determine good example URLs for
858858
* specific API endpoints. This method is only used when the example URL can't be determined using the default
859859
* method. This only works for endpoints associated with reports and have metadata provided by the containing
860860
* plugin. The response is cached as a property so the request is only made once regardless of how many times this
@@ -903,11 +903,10 @@ protected function getDemoReportMetadata(): array
903903

904904
/**
905905
* Take the example URL and query the endpoint for an example response, hiding subtables. If a response isn't
906-
* received from demo.matomo.cloud, it can try using a temporary token to make the request against the current
906+
* received, it can try using a temporary token to make the request against the current
907907
* instance of Matomo.
908908
*
909-
* @param string $url The full example URL. E.g.
910-
* https://demo.matomo.cloud/?module=API&method=CustomReports.getConfiguredReports&idSite=1&format=xml&token_auth=anonymous
909+
* @param string $url The full example URL.
911910
* @param bool $useLocalToken A boolean indicating whether to get a temporary token and try the request against the
912911
* currently running Matomo instance.
913912
* @param bool $ignoreCached A boolean indicating whether the cached response file should be ignored. Default is

0 commit comments

Comments
 (0)