Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NFC] Tidy up phpdoc in CRM_Utils_QueryFormatter #22423

Merged
merged 1 commit into from
Jan 8, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions CRM/Utils/QueryFormatter.php
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ public function formatSql($table, $columns, $queryText) {
* Format Fts.
*
* @param string $text
* @param $mode
* @param string $mode
*
* @return mixed
*/
Expand Down Expand Up @@ -270,7 +270,7 @@ protected function _formatFts($text, $mode) {
* Format FTS.
*
* @param string $text
* @param $mode
* @param string $mode
*
* @return mixed
*/
Expand Down Expand Up @@ -342,8 +342,8 @@ protected function _formatFtsBool($text, $mode) {
/**
* Format like.
*
* @param $text
* @param $mode
* @param string $text
* @param string $mode
*
* @return mixed
*/
Expand Down Expand Up @@ -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) {
Expand Down Expand Up @@ -471,7 +471,7 @@ public static function getLanguages() {
}

/**
* @param $text
* @param string $text
*
* Ex: drush eval 'civicrm_initialize(); CRM_Utils_QueryFormatter::dumpExampleTable("firstword secondword");'
*/
Expand Down