Skip to content

Commit

Permalink
CS: Avoid reserved keyword for function param name
Browse files Browse the repository at this point in the history
  • Loading branch information
GaryJones committed Dec 20, 2022
1 parent 2b893ca commit 0b84ea8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions WordPressVIPMinimum/Sniffs/Compatibility/ZoninatorSniff.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,11 @@ public function process_token( $stackPtr ) {
/**
* Removes the quotation marks around T_CONSTANT_ENCAPSED_STRING.
*
* @param string $string T_CONSTANT_ENCAPSED_STRING containing wrapping quotation marks.
* @param string $text_string T_CONSTANT_ENCAPSED_STRING containing wrapping quotation marks.
*
* @return string String w/o wrapping quotation marks.
*/
public function remove_wrapping_quotation_marks( $string ) {
return trim( str_replace( '"', "'", $string ), "'" );
public function remove_wrapping_quotation_marks( $text_string ) {
return trim( str_replace( '"', "'", $text_string ), "'" );
}
}

0 comments on commit 0b84ea8

Please sign in to comment.