Merge pull request #28909 from mdeweerd/fix/PhanPluginUnknownClosureReturnType

Fix & enable PhanPluginUnknownClosureReturnType
This commit is contained in:
Laurent Destailleur 2024-03-17 03:03:35 +01:00 committed by GitHub
commit 91c5868020
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View file

@ -454,7 +454,7 @@ return [
// 'PhanPluginNoCommentOnProtectedProperty',
// 'PhanPluginDescriptionlessCommentOnPublicMethod',
// 'PhanPluginUnknownClosureParamType',
'PhanPluginUnknownClosureReturnType',
// 'PhanPluginUnknownClosureReturnType',
// 'PhanPluginNoCommentOnProtectedMethod',
// 'PhanTypeArraySuspicious',
// 'PhanTypeMismatchPropertyProbablyReal',

View file

@ -631,6 +631,7 @@ class ProductCombination
$features,
/**
* @param mixed $v Feature information of a product.
* @return bool
*/
static function ($v) {
return !empty($v);