Browse Source

Improving fixers descriptions

Kuba Werłos 7 years ago
parent
commit
83c8837e75
2 changed files with 2 additions and 2 deletions
  1. 1 1
      README.rst
  2. 1 1
      src/Fixer/LanguageConstruct/CombineConsecutiveIssetsFixer.php

+ 1 - 1
README.rst

@@ -354,7 +354,7 @@ Choose from the list of available rules:
 
 * **combine_consecutive_issets**
 
-  Using ``isset(X) &&`` multiple times should be done in one call.
+  Using ``isset($var) &&`` multiple times should be done in one call.
 
 * **combine_consecutive_unsets**
 

+ 1 - 1
src/Fixer/LanguageConstruct/CombineConsecutiveIssetsFixer.php

@@ -29,7 +29,7 @@ final class CombineConsecutiveIssetsFixer extends AbstractFixer
     public function getDefinition()
     {
         return new FixerDefinition(
-            'Using `isset(X) &&` multiple times should be done in one call.',
+            'Using `isset($var) &&` multiple times should be done in one call.',
             [new CodeSample("<?php\n\$a = isset(\$a) && isset(\$b);\n")]
         );
     }