Skip to content

Commit

Permalink
Merge pull request #20 from schwaen/master
Browse files Browse the repository at this point in the history
 add new ContentTypes and Travis Fixes
  • Loading branch information
schwaen authored Nov 5, 2020
2 parents 01fd78b + 94072c4 commit e4a815d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ php:
- 7.0
- 7.1
- 7.2
- nightly
- hhvm
- 7.3
- 7.4

notifications:
email: false
8 changes: 8 additions & 0 deletions src/ContentTypesEnum.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ class ContentTypesEnum
const PRODUCT_MODIFIER = 'product.modifier';
const PRODUCT_OBJECT = 'product.object';
const PRODUCT_STOCK = 'product.stock';
const PRODUCT_KEYWORD = 'product.keyword';
const PRODUCT_ORDER_UNIT = 'product.order_unit';
const PRODUCT_CONTENT_UNIT = 'product.content_unit';
const PRODUCT_ATTRIBUTE = 'product.attribute';
const ORDER_FREQUENCY = 'order.frequency';

/**
Expand Down Expand Up @@ -48,6 +52,10 @@ public static function getAll() {
self::PRODUCT_MODIFIER,
self::PRODUCT_OBJECT,
self::PRODUCT_STOCK,
self::PRODUCT_KEYWORD,
self::PRODUCT_ORDER_UNIT,
self::PRODUCT_CONTENT_UNIT,
self::PRODUCT_ATTRIBUTE,
self::ORDER_FREQUENCY,
);
}
Expand Down

0 comments on commit e4a815d

Please sign in to comment.