Skip to content
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
8 changes: 4 additions & 4 deletions WordPress/Helpers/VariableHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -209,11 +209,11 @@ public static function is_comparison( File $phpcsFile, $stackPtr, $include_coale
* This must point to either a T_VARIABLE or
* T_CLOSE_SQUARE_BRACKET token.
* @param bool $include_coalesce Optional. Whether or not to regard the null
* coalesce operator - ?? - as a comparison operator.
* coalesce equal operator - `??=` - as an assignment operator.
* Defaults to true.
* Null coalesce is a special comparison operator in this
* sense as it doesn't compare a variable to whatever is
* on the other side of the comparison operator.
* Null coalesce is a special assignment operator, in the
* sense that the assignment will only happen if the variable
* being assigned to is currently `null`.
*
* @return bool Whether the token is a variable being assigned a value.
*/
Expand Down
Loading