Don't expose ECK entities without subtypes to afform #137
Annotations
11 errors
|
Run PHPStan:
CRM/Eck/BAO/EckEntityType.php#L52
Method CRM_Eck_BAO_EckEntityType::getEntityTypes() should return array<string, array<string, string>> but returns array|false.
|
Run PHPStan:
CRM/Eck/BAO/Entity.php#L25
Method CRM_Eck_BAO_Entity::getEntityType() should return string|null but returns string|false|null.
|
Run PHPStan:
Civi/Api4/Service/Spec/Provider/EckEntitySpecProvider.php#L50
Method Civi\Api4\Service\Spec\Provider\EckEntitySpecProvider::arrayToField() has parameter $data with no value type specified in iterable type array.
|
Run PHPStan:
Civi/Api4/Service/Spec/Provider/EckEntitySpecProvider.php#L59
Construct empty() is not allowed. Use more strict comparison.
|
Run PHPStan:
Civi/Api4/Service/Spec/Provider/EckEntitySpecProvider.php#L60
Construct empty() is not allowed. Use more strict comparison.
|
Run PHPStan:
Civi/Api4/Service/Spec/Provider/EckEntitySpecProvider.php#L64
Construct empty() is not allowed. Use more strict comparison.
|
Run PHPStan:
Civi/Api4/Service/Spec/Provider/EckEntitySpecProvider.php#L67
Construct empty() is not allowed. Use more strict comparison.
|
Run PHPStan:
Civi/Api4/Service/Spec/Provider/EckEntitySpecProvider.php#L70
Parameter #1 $callback of method Civi\Api4\Service\Spec\FieldSpec::setOptionsCallback() expects callable(): mixed, array{'Civi\\Api4\\Service\\Spec\\Provider\\EckEntitySpecProvider', 'getOptions'} given.
|
Run PHPStan:
Civi/Api4/Service/Spec/Provider/EckEntitySpecProvider.php#L73
Construct empty() is not allowed. Use more strict comparison.
|
Run PHPStan:
Civi/Api4/Service/Spec/Provider/EckEntitySpecProvider.php#L81
Construct empty() is not allowed. Use more strict comparison.
|
Loading