File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -713,7 +713,7 @@ A class that implements the `__toString()` method must explicitly implement the
713713```
714714
715715#### TrimKeyFixer
716- A string array and yield keys must be trimmed and have no double spaces.
716+ The string key of an array or generator must be trimmed and have no double spaces.
717717``` diff
718718 <?php
719719 $array = [
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ final class TrimKeyFixer extends AbstractFixer
2323 public function getDefinition (): FixerDefinitionInterface
2424 {
2525 return new FixerDefinition (
26- 'A string array and yield keys must be trimmed and have no double spaces. ' ,
26+ 'The string key of an array or generator must be trimmed and have no double spaces. ' ,
2727 [new CodeSample (<<<'PHP'
2828 <?php
2929 $array = [
You can’t perform that action at this time.
0 commit comments