X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FUtils%2FSQL%2FBaseParamQuery.php;h=960dec4cbf6695778096cfb7724b97d2127cb3e6;hb=a4934764e309b794d091a3a1448a36b6fe1367e8;hp=b0bf8633d0a34379653c80b3ddf08f33d732a4ee;hpb=b59ecbc4721b370d9d03ccb6fd2708fa920f7f6b;p=civicrm-core.git diff --git a/CRM/Utils/SQL/BaseParamQuery.php b/CRM/Utils/SQL/BaseParamQuery.php index b0bf8633d0..960dec4cbf 100644 --- a/CRM/Utils/SQL/BaseParamQuery.php +++ b/CRM/Utils/SQL/BaseParamQuery.php @@ -184,7 +184,7 @@ class CRM_Utils_SQL_BaseParamQuery implements ArrayAccess { * * @return bool */ - public function offsetExists($offset) { + public function offsetExists($offset): bool { return isset($this->params[$offset]); } @@ -202,6 +202,7 @@ class CRM_Utils_SQL_BaseParamQuery implements ArrayAccess { * @see param() * @see ArrayAccess::offsetGet */ + #[ReturnTypeWillChange] public function offsetGet($offset) { return $this->params[$offset]; } @@ -223,7 +224,7 @@ class CRM_Utils_SQL_BaseParamQuery implements ArrayAccess { * @see param() * @see ArrayAccess::offsetSet */ - public function offsetSet($offset, $value) { + public function offsetSet($offset, $value): void { $this->param($offset, $value); } @@ -234,7 +235,7 @@ class CRM_Utils_SQL_BaseParamQuery implements ArrayAccess { * @see param() * @see ArrayAccess::offsetUnset */ - public function offsetUnset($offset) { + public function offsetUnset($offset): void { unset($this->params[$offset]); }