* @dataProvider versionThreeAndFour
* @throws \CRM_Core_Exception
*/
- public function testContactGetPledgeNotChainable($version) {
+ public function testContactGetPledgeNotChainable(int $version): void {
$this->_apiversion = $version;
$this->hookClass->setHook('civicrm_aclWhereClause', [
$this,