-
-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #48 from peter-gribanov/equals-fix
Fix method equals is incorrect working
- Loading branch information
Showing
3 changed files
with
32 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?php | ||
/** | ||
* @link http://github.com/myclabs/php-enum | ||
* @license http://www.opensource.org/licenses/mit-license.php MIT (see the LICENSE file) | ||
*/ | ||
namespace MyCLabs\Tests\Enum; | ||
|
||
use MyCLabs\Enum\Enum; | ||
|
||
/** | ||
* Class EnumConflict | ||
* | ||
* @method static EnumConflict FOO() | ||
* @method static EnumConflict BAR() | ||
* | ||
* @author Daniel Costa <danielcosta@gmail.com> | ||
* @author Mirosław Filip <mirfilip@gmail.com> | ||
*/ | ||
class EnumConflict extends Enum | ||
{ | ||
const FOO = "foo"; | ||
const BAR = "bar"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters