/**
* Helper function to return sum of financial item's amount related to a line-item
- * @param array $lineItemID
+ * @param int $lineItemID
*
* @return float $financialItem
*/
parent::setUp();
}
+ /**
+ * @param array $formValues
+ * @return CRM_Contact_Form_Task_AddToGroup
+ */
protected function getSearchTaskFormObject(array $formValues) {
$_POST = $formValues;
$_SERVER['REQUEST_METHOD'] = 'GET';
}
}
- /* @var CRM_Contact_Form_Task_Label $fom */
+ /** @var CRM_Contact_Form_Task_Label $form */
$form = $this->getFormObject('CRM_Contact_Form_Task_Label', [
'label_name' => 3475,
'location_type_id' => NULL,
/**
* @param string $name
*
- * @return mixed
+ * @return int
*/
- public function membershipStatusCreate($name = 'test member status') {
+ public function membershipStatusCreate($name = 'test member status'): int {
$params['name'] = $name;
$params['start_event'] = 'start_date';
$params['end_event'] = 'end_date';
/**
* MockArrayEntity entity.
*
- * @method Generic\BasicGetAction get()
+ * @method static Generic\BasicGetAction get()
*
* @package Civi\Api4
*/