File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ public function __construct(DocumentationGenerator $generator)
5858 * directory if it doesn't already exist. This is useful if we just want a temp file for comparison. like during
5959 * testing.
6060 *
61- * @return string[] The collection of all the lines which make up the generated annotations for the public API
61+ * @return string[]|array[] The collection of all the lines which make up the generated annotations for the public API
6262 * endpoints defined by the plugin.
6363 * @throws \Piwik\Exception\PluginDeactivatedException If the plugin is not activated. It should be loaded.
6464 * @throws \Throwable
@@ -225,7 +225,7 @@ public function getParamInfoFromDocBlock(string $docBlock): array
225225 *
226226 * @param string $docBlock The comment block from a method, which hopefully contains the return annotation.
227227 *
228- * @return string[] The collection of key information about the method's return type if any is found.
228+ * @return array The collection of key information about the method's return type if any is found.
229229 * E.g. ['type' => 'integer', 'description' => 'The ID of the newly created report.'] or ['type' => null] if no
230230 * return annotation is present.
231231 */
You can’t perform that action at this time.
0 commit comments