Skip to content

Commit

Permalink
Fix a typo in an error message.
Browse files Browse the repository at this point in the history
  • Loading branch information
jrfnl committed Jan 19, 2017
1 parent 06dd9c9 commit e8cb67d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CodeSniffer/Standards/AbstractScopeSniff.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public function __construct(
$invalidScopeTokens = array_intersect($scopeTokens, $tokens);
if (empty($invalidScopeTokens) === false) {
$invalid = implode(', ', $invalidScopeTokens);
$error = "Scope tokens [$invalid] cant be in the tokens array";
$error = "Scope tokens [$invalid] can't be in the tokens array";
throw new PHP_CodeSniffer_Exception($error);
}

Expand Down

0 comments on commit e8cb67d

Please sign in to comment.