From: Derick Alangi Date: Mon, 25 Mar 2019 13:17:47 +0000 (+0100) Subject: registration: Remove wrong `@return` PHPDoc comments X-Git-Tag: 1.34.0-rc.0~2380 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=6e20fadc21e9e2adeb313d88e8e1322c5ba4e3d5;p=lhc%2Fweb%2Fwiklou.git registration: Remove wrong `@return` PHPDoc comments $this->attributes is an array class property that gets set by the method extractInfo(). This method really doesn't return an array though in a sense $this->attributes gets set which can be used but it's not returned. Change-Id: I54e8065c63f81016425c7dd40ce87e1eb8ba0830 --- diff --git a/includes/registration/ExtensionProcessor.php b/includes/registration/ExtensionProcessor.php index 1d3fd86d8b..b474ddc766 100644 --- a/includes/registration/ExtensionProcessor.php +++ b/includes/registration/ExtensionProcessor.php @@ -189,7 +189,6 @@ class ExtensionProcessor implements Processor { * @param string $path * @param array $info * @param int $version manifest_version for info - * @return array */ public function extractInfo( $path, array $info, $version ) { $dir = dirname( $path );