Skip to content

Commit 7b3014e

Browse files
author
Michael v/d Rijt
committed
Made some small changes in the 'equalsTo' method.
1 parent 1daad5c commit 7b3014e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Enum.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,9 @@ public function getKey()
7272
*
7373
* @return bool
7474
*/
75-
public function equalsTo($enum)
75+
public function equalsTo(Enum $enum)
7676
{
77-
return $this === $enum;
77+
return $this == $enum;
7878
}
7979

8080
/**

0 commit comments

Comments
 (0)