* Are we operating in "single mode", i.e. deleting one
* specific case?
*
- * @var boolean
+ * @var bool
*/
protected $_single = FALSE;
}
if ($restoredCases) {
- $msg = ts('%count case restored from trash.', array(
+ $msg = ts('%count case restored from trash.', [
'plural' => '%count cases restored from trash.',
'count' => $restoredCases,
- ));
+ ]);
CRM_Core_Session::setStatus($msg, ts('Restored'), 'success');
}
if ($failed) {
- CRM_Core_Session::setStatus(ts('1 could not be restored.', array('plural' => '%count could not be restored.', 'count' => $failed)), ts('Error'), 'error');
+ CRM_Core_Session::setStatus(ts('1 could not be restored.', ['plural' => '%count could not be restored.', 'count' => $failed]), ts('Error'), 'error');
}
}