diff --git a/CRM/Utils/QueryFormatter.php b/CRM/Utils/QueryFormatter.php index d54cc0e78236..e11fdced70ce 100644 --- a/CRM/Utils/QueryFormatter.php +++ b/CRM/Utils/QueryFormatter.php @@ -219,7 +219,7 @@ public function formatSql($table, $columns, $queryText) { * Format Fts. * * @param string $text - * @param $mode + * @param string $mode * * @return mixed */ @@ -270,7 +270,7 @@ protected function _formatFts($text, $mode) { * Format FTS. * * @param string $text - * @param $mode + * @param string $mode * * @return mixed */ @@ -342,8 +342,8 @@ protected function _formatFtsBool($text, $mode) { /** * Format like. * - * @param $text - * @param $mode + * @param string $text + * @param string $mode * * @return mixed */ @@ -425,9 +425,9 @@ protected function parseWords($text, $quotes) { } /** - * @param $text - * @param $wildcard - * @return mixed + * @param string|null $text + * @param string $wildcard + * @return string|null */ protected function dedupeWildcards($text, $wildcard) { if ($text === NULL) { @@ -471,7 +471,7 @@ public static function getLanguages() { } /** - * @param $text + * @param string $text * * Ex: drush eval 'civicrm_initialize(); CRM_Utils_QueryFormatter::dumpExampleTable("firstword secondword");' */