Skip to content

Commit 3f9cfbf

Browse files
committed
Rename ShopifyAPI to ShopifyResource
1 parent 0714069 commit 3f9cfbf

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+108
-108
lines changed

lib/AbandonedCheckout.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
namespace PHPShopify;
1111

1212

13-
class AbandonedCheckout extends ShopifyAPI
13+
class AbandonedCheckout extends ShopifyResource
1414
{
1515
/**
1616
* @inheritDoc

lib/ApplicationCharge.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
namespace PHPShopify;
1111

1212

13-
class ApplicationCharge extends ShopifyAPI
13+
class ApplicationCharge extends ShopifyResource
1414
{
1515
/**
1616
* @inheritDoc

lib/Article.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@
1414
* --------------------------------------------------------------------------
1515
* Article -> Child Resources
1616
* --------------------------------------------------------------------------
17-
* @property-read ShopifyAPI $Event
17+
* @property-read ShopifyResource $Event
1818
*
19-
* @method ShopifyAPI Event(integer $id = null)
19+
* @method ShopifyResource Event(integer $id = null)
2020
*
2121
*/
22-
class Article extends ShopifyAPI
22+
class Article extends ShopifyResource
2323
{
2424
/**
2525
* @inheritDoc

lib/Asset.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
namespace PHPShopify;
1111

1212

13-
class Asset extends ShopifyAPI
13+
class Asset extends ShopifyResource
1414
{
1515
/**
1616
* @inheritDoc

lib/Blog.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,16 @@
1313
* --------------------------------------------------------------------------
1414
* Blog -> Child Resources
1515
* --------------------------------------------------------------------------
16-
* @property-read ShopifyAPI $Article
17-
* @property-read ShopifyAPI $Event
18-
* @property-read ShopifyAPI $Metafield
16+
* @property-read ShopifyResource $Article
17+
* @property-read ShopifyResource $Event
18+
* @property-read ShopifyResource $Metafield
1919
*
20-
* @method ShopifyAPI Article(integer $id = null)
21-
* @method ShopifyAPI Event(integer $id = null)
22-
* @method ShopifyAPI Metafield(integer $id = null)
20+
* @method ShopifyResource Article(integer $id = null)
21+
* @method ShopifyResource Event(integer $id = null)
22+
* @method ShopifyResource Metafield(integer $id = null)
2323
*
2424
*/
25-
class Blog extends ShopifyAPI
25+
class Blog extends ShopifyResource
2626
{
2727
/**
2828
* @inheritDoc

lib/CarrierService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
namespace PHPShopify;
1111

1212

13-
class CarrierService extends ShopifyAPI
13+
class CarrierService extends ShopifyResource
1414
{
1515
/**
1616
* @inheritDoc

lib/Collect.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
namespace PHPShopify;
1111

1212

13-
class Collect extends ShopifyAPI
13+
class Collect extends ShopifyResource
1414
{
1515
/**
1616
* @inheritDoc

lib/Comment.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
* --------------------------------------------------------------------------
1616
* Comment -> Child Resources
1717
* --------------------------------------------------------------------------
18-
* @property-read ShopifyAPI $Event
18+
* @property-read ShopifyResource $Event
1919
*
20-
* @method ShopifyAPI Event(integer $id = null)
20+
* @method ShopifyResource Event(integer $id = null)
2121
*
2222
* --------------------------------------------------------------------------
2323
* Comment -> Custom actions
@@ -29,7 +29,7 @@
2929
* @method array restore() Restore a Comment
3030
*
3131
*/
32-
class Comment extends ShopifyAPI
32+
class Comment extends ShopifyResource
3333
{
3434
/**
3535
* @inheritDoc

lib/Country.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@
1414
* --------------------------------------------------------------------------
1515
* Country -> Child Resources
1616
* --------------------------------------------------------------------------
17-
* @property-read ShopifyAPI $Province
17+
* @property-read ShopifyResource $Province
1818
*
19-
* @method ShopifyAPI Province(integer $id = null)
19+
* @method ShopifyResource Province(integer $id = null)
2020
*
2121
*/
22-
class Country extends ShopifyAPI
22+
class Country extends ShopifyResource
2323
{
2424
/**
2525
* @inheritDoc

lib/CustomCollection.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@
1414
* --------------------------------------------------------------------------
1515
* CustomCollection -> Child Resources
1616
* --------------------------------------------------------------------------
17-
* @property-read ShopifyAPI $Event
18-
* @property-read ShopifyAPI $Metafield
17+
* @property-read ShopifyResource $Event
18+
* @property-read ShopifyResource $Metafield
1919
*
20-
* @method ShopifyAPI Event(integer $id = null)
21-
* @method ShopifyAPI Metafield(integer $id = null)
20+
* @method ShopifyResource Event(integer $id = null)
21+
* @method ShopifyResource Metafield(integer $id = null)
2222
*
2323
*/
24-
class CustomCollection extends ShopifyAPI
24+
class CustomCollection extends ShopifyResource
2525
{
2626
/**
2727
* @inheritDoc

0 commit comments

Comments
 (0)