From 7b3014e6b820e35023282acc03aa0f338d4777be Mon Sep 17 00:00:00 2001 From: Michael v/d Rijt Date: Thu, 15 Oct 2015 22:19:05 +0200 Subject: [PATCH] Made some small changes in the 'equalsTo' method. --- src/Enum.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Enum.php b/src/Enum.php index c7cc5f1..b9c0cbb 100755 --- a/src/Enum.php +++ b/src/Enum.php @@ -72,9 +72,9 @@ public function getKey() * * @return bool */ - public function equalsTo($enum) + public function equalsTo(Enum $enum) { - return $this === $enum; + return $this == $enum; } /**