From 6e20fadc21e9e2adeb313d88e8e1322c5ba4e3d5 Mon Sep 17 00:00:00 2001 From: Derick Alangi Date: Mon, 25 Mar 2019 14:17:47 +0100 Subject: [PATCH] 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 --- includes/registration/ExtensionProcessor.php | 1 - 1 file changed, 1 deletion(-) 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 ); -- 2.20.1