Fix pledge to support v4 api
[civicrm-core.git] / tests / phpunit / api / v3 / ACLPermissionTest.php
index 558e99a4847253db19437f5e6e30474914fd0814..f587ad13f991362359134a94aa822cfdd2322aab 100644 (file)
@@ -456,7 +456,7 @@ class api_v3_ACLPermissionTest extends CiviUnitTestCase {
    * @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,