diff --git a/dev/tools/phan/config.php b/dev/tools/phan/config.php index f6e57a83cbb..80be656d1a9 100644 --- a/dev/tools/phan/config.php +++ b/dev/tools/phan/config.php @@ -454,7 +454,7 @@ return [ // 'PhanPluginNoCommentOnProtectedProperty', // 'PhanPluginDescriptionlessCommentOnPublicMethod', // 'PhanPluginUnknownClosureParamType', - 'PhanPluginUnknownClosureReturnType', + // 'PhanPluginUnknownClosureReturnType', // 'PhanPluginNoCommentOnProtectedMethod', // 'PhanTypeArraySuspicious', // 'PhanTypeMismatchPropertyProbablyReal', diff --git a/htdocs/variants/class/ProductCombination.class.php b/htdocs/variants/class/ProductCombination.class.php index 7e183f75362..4e40c36a553 100644 --- a/htdocs/variants/class/ProductCombination.class.php +++ b/htdocs/variants/class/ProductCombination.class.php @@ -631,6 +631,7 @@ class ProductCombination $features, /** * @param mixed $v Feature information of a product. + * @return bool */ static function ($v) { return !empty($v);