Skip to content

Commit

Permalink
Made some small changes in the 'equalsTo' method.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael v/d Rijt committed Oct 15, 2015
1 parent 1daad5c commit 7b3014e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Enum.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ public function getKey()
*
* @return bool
*/
public function equalsTo($enum)
public function equalsTo(Enum $enum)
{
return $this === $enum;
return $this == $enum;
}

/**
Expand Down

0 comments on commit 7b3014e

Please sign in to comment.