*
* @param bool $checkPermissions
* Respect logged in user permissions.
- * @param bool|NULL $reloadCacheIfEmpty
+ * @param bool|null $reloadCacheIfEmpty
* If not set explicitly this is calculated but it is preferred that it be set
* per comments on isSelected above.
*
/**
* Build up the location block for the contact in dedupe-screen display format.
*
- * @param integer $cid
+ * @param int $cid
* @param array $blockInfo
* @param string $blockName
*
* Class constructor.
*
* @param CRM_Extension_Container_Interface $fullContainer
- * @param CRM_Extension_Container_Basic|FALSE $defaultContainer
+ * @param CRM_Extension_Container_Basic|false $defaultContainer
* @param CRM_Extension_Mapper $mapper
* @param array $typeManagers
*/
/**
* CRM_Extension_ClassLoader constructor.
- * @param \CRM_Extension_Mapper|NULL $mapper
- * @param \CRM_Extension_Manager|NULL $manager
+ * @param \CRM_Extension_Mapper|null $mapper
+ * @param \CRM_Extension_Manager|null $manager
* @param bool $relativize
* Whether to store paths in relative form.
* Enabling this may slow-down scanning a bit, and it has no benefit when for on-demand loaders.
*
* @internal use in tested core code only.
*
- * @param \CRM_Core_Form|NULL $form
+ * @param \CRM_Core_Form|null $form
*/
public function setForm(?CRM_Core_Form $form): void {
$this->form = $form;
/**
* Retrieve array of allowed credit cards for this payment processor.
- * @param integer|null $paymentProcessorID id of processor.
+ * @param int|null $paymentProcessorID
* @return array
*/
public static function getCreditCards($paymentProcessorID = NULL) {
/**
* Get all payment processors as an array of objects.
*
- * @param string|NULL $mode
+ * @param string|null $mode
* only return this mode - test|live or NULL for all
* @param bool $reset
* @param bool $isCurrentDomainOnly
* Do we only want to load payment processors associated with the current domain.
- * @param bool|NULL $isActive
+ * @param bool|null $isActive
* Do we only want active processors, only inactive (FALSE) or all processors (NULL)
*
* @throws CiviCRM_API3_Exception
*
* @param bool $isOK
* TRUE if the task completed successfully.
- * @param Exception|NULL $exception
+ * @param Exception|null $exception
* If applicable, an unhandled exception that arose during execution.
*
* @return array
/**
* Throw an exception if any of the checks fail.
*
- * @param array|NULL $messages
+ * @param array|null $messages
* [CRM_Utils_Check_Message]
* @param string $threshold
*
/**
* Translate a TTL to a concrete expiration time.
*
- * @param NULL|int|DateInterval $ttl
+ * @param null|int|DateInterval $ttl
* @param int $default
* The value to use if $ttl is not specified (NULL).
* @return int
/**
* Normalize a TTL.
*
- * @param NULL|int|DateInterval $ttl
+ * @param null|int|DateInterval $ttl
* @param int $default
* The value to use if $ttl is not specified (NULL).
* @return int
}
/**
- * @param string|NULL $dsn
+ * @param string|null $dsn
* Use NULL to load the default/active connection from CRM_Core_DAO.
* Otherwise, give a full DSN string.
* @param string $fileName
/**
*
- * @param string|NULL $dsn
+ * @param string|null $dsn
* @param string $queryString
* @param string $prefix
* @param bool $dieOnErrors
}
/**
- * @param (float|int)[] $paper_size
+ * @param float|int[] $paper_size
* @param string $orientation
* @param array $margins
* @param string $html
}
/**
- * @param string|NULL $value
+ * @param string|null $value
* @return string
* SQL expression, e.g. "it\'s great" (with-quotes) or NULL (without-quotes)
*/
* Merge something or other.
*
* @param CRM_Utils_SQL_Delete $other
- * @param array|NULL $parts
+ * @param array|null $parts
* ex: 'wheres'
* @return CRM_Utils_SQL_Delete
*/
}
/**
- * @param array|NULL $parts
+ * @param array|null $parts
* List of fields to check (e.g. 'wheres').
* Defaults to all.
* @return bool
* To examine the results, use a function like `fetch()`, `fetchAll()`,
* `fetchValue()`, or `fetchMap()`.
*
- * @param string|NULL $daoName
+ * @param string|null $daoName
* The return object should be an instance of this class.
* Ex: 'CRM_Contact_BAO_Contact'.
* @param bool $i18nRewrite
/**
* Escape string.
*
- * @param string|NULL $value
+ * @param string|null $value
*
* @return string
* SQL expression, e.g. "it\'s great" (with-quotes) or NULL (without-quotes)
* Merge something or other.
*
* @param array|CRM_Utils_SQL_Select $other
- * @param array|NULL $parts
+ * @param array|null $parts
* ex: 'joins', 'wheres'
* @return CRM_Utils_SQL_Select
*/
* Note: To add multiple JOINs at once, use $name===NULL and
* pass an array of $exprs.
*
- * @param string|NULL $name
+ * @param string|null $name
* The effective alias of the joined table.
* @param string|array $exprs
* The complete join expression (eg "INNER JOIN mytable myalias ON mytable.id = maintable.foo_id").
}
/**
- * @param array|NULL $parts
+ * @param array|null $parts
* List of fields to check (e.g. 'selects', 'joins').
* Defaults to all.
* @return bool
* To examine the results, use a function like `fetch()`, `fetchAll()`,
* `fetchValue()`, or `fetchMap()`.
*
- * @param string|NULL $daoName
+ * @param string|null $daoName
* The return object should be an instance of this class.
* Ex: 'CRM_Contact_BAO_Contact'.
* @param bool $i18nRewrite
/**
* @param string $action
* Ex: 'CREATE', 'DROP'
- * @param string|NULL $ifne
+ * @param string|null $ifne
* Ex: 'IF EXISTS', 'IF NOT EXISTS'.
* @return string
* Ex: 'CREATE TEMPORARY TABLE `civicrm_tmp_e_foo_abcd1234`'
}
/**
- * @param string|NULL $category
+ * @param string|null $category
*
* @return CRM_Utils_SQL_TempTable
*/
* safe, standard data interchange formats such as JSON rather than PHP's
* serialization format when dealing with user input.
*
- * @param string|NULL $string
+ * @param string|null $string
*
* @return mixed
*/
/**
* Redirect to SSL.
*
- * @param bool|FALSE $abort
+ * @param bool|false $abort
*
* @throws \CRM_Core_Exception
*/
/**
* Evaluate any tokens in a URL.
*
- * @param string|FALSE $url
+ * @param string|false $url
*
* @return string|FALSE
*/