Skip to content

Commit

Permalink
removed both the v2 and v3 defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
TheM1984 committed Sep 4, 2019
1 parent b49a03d commit 9d6d7f0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions tests/Models/AddressStatus.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@

class AddressStatus extends Enum
{
const __DEFAULT = self::UNKNOWN;
const __default = self::UNKNOWN; // v2 default for backwards compatibility

const UNKNOWN = null;
const VALID = 'valid';
const INVALID = 'invalid';
Expand Down
3 changes: 0 additions & 3 deletions tests/Models/EloquentType.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@

class EloquentType extends Enum
{
const __DEFAULT = self::NADA;
const __default = self::NADA; // v2 default for backwards compatibility

const NADA = null;
const WHATEVER = 'whatever';
const NEVERMIND = 'nevermind';
Expand Down

0 comments on commit 9d6d7f0

Please sign in to comment.