Merge pull request #28909 from mdeweerd/fix/PhanPluginUnknownClosureReturnType
Fix & enable PhanPluginUnknownClosureReturnType
This commit is contained in:
commit
91c5868020
2 changed files with 2 additions and 1 deletions
|
|
@ -454,7 +454,7 @@ return [
|
|||
// 'PhanPluginNoCommentOnProtectedProperty',
|
||||
// 'PhanPluginDescriptionlessCommentOnPublicMethod',
|
||||
// 'PhanPluginUnknownClosureParamType',
|
||||
'PhanPluginUnknownClosureReturnType',
|
||||
// 'PhanPluginUnknownClosureReturnType',
|
||||
// 'PhanPluginNoCommentOnProtectedMethod',
|
||||
// 'PhanTypeArraySuspicious',
|
||||
// 'PhanTypeMismatchPropertyProbablyReal',
|
||||
|
|
|
|||
|
|
@ -631,6 +631,7 @@ class ProductCombination
|
|||
$features,
|
||||
/**
|
||||
* @param mixed $v Feature information of a product.
|
||||
* @return bool
|
||||
*/
|
||||
static function ($v) {
|
||||
return !empty($v);
|
||||
|
|
|
|||
Loading…
Reference in a new issue