Skip to content

Commit 162da58

Browse files
committed
Fixing code style issues
1 parent bc50b0c commit 162da58

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Annotations/AnnotationGenerator.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
*/

0 commit comments

Comments
 (0)