Skip to content

Commit

Permalink
add enum wrapper (#375)
Browse files Browse the repository at this point in the history
  • Loading branch information
shmax authored and bighappyface committed Mar 21, 2017
1 parent c44609a commit af14372
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 af14372

Please sign in to comment.