Skip to content

Commit

Permalink
cs fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tmilos committed Dec 20, 2016
1 parent 51a6b6c commit 6a9dc00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Token.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public function getValue()

public function is($token)
{
if ($token instanceof Token) {
if ($token instanceof self) {
return $this->name === $token->getName();
} elseif (is_string($token)) {
return $this->name === $token;
Expand Down

0 comments on commit 6a9dc00

Please sign in to comment.