Skip to content

Commit

Permalink
Improve phpdoc about validUnusedVariableNames
Browse files Browse the repository at this point in the history
  • Loading branch information
sirbrillig committed Apr 20, 2018
1 parent 969a452 commit 45e0466
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,9 @@ class VariableAnalysisSniff implements Sniff {
public $allowUnusedFunctionParameters = false;

/**
* A list of names of placeholder variables that you want to ignore from
* unused variable warnings, ie things like $junk.
* A space-separated list of names of placeholder variables that you want to
* ignore from unused variable warnings. For example, to ignore the variables
* `$junk` and `$unused`, this could be set to `'junk unused'`.
*/
public $validUnusedVariableNames = null;

Expand Down

0 comments on commit 45e0466

Please sign in to comment.