Skip to content

Commit

Permalink
add enum wrapper (jsonrainbow#375)
Browse files Browse the repository at this point in the history
  • Loading branch information
shmax authored and erayd committed Mar 22, 2017
1 parent e2bfbeb commit 29a03ff
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/JsonSchema/ConstraintError.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use JsonSchema\Exception\InvalidArgumentException;

class ConstraintError extends \MabeEnum\Enum
class ConstraintError extends Enum
{
const ADDITIONAL_ITEMS = 'additionalItems';
const ADDITIONAL_PROPERTIES = 'additionalProp';
Expand Down
7 changes: 7 additions & 0 deletions src/JsonSchema/Enum.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?php

namespace JsonSchema;

abstract class Enum extends \MabeEnum\Enum
{
}

0 comments on commit 29a03ff

Please sign in to comment.