Skip to content

Commit 86bc824

Browse files
authored
Merge pull request #33 from TonyDeStefano/docblocks
Fixed docblock declarations
2 parents af2e149 + 7ac3fd9 commit 86bc824

22 files changed

+146
-83
lines changed

lib/Article.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,15 @@
1010
namespace PHPShopify;
1111

1212

13-
/*
13+
/**
1414
* --------------------------------------------------------------------------
1515
* Article -> Child Resources
1616
* --------------------------------------------------------------------------
17-
* @property-read ShopifyResource $Event
17+
* @property-read Event $Event
18+
* @property-read Metafield $Metafield
1819
*
19-
* @method ShopifyResource Event(integer $id = null)
20+
* @method Event Event(integer $id = null)
21+
* @method Metafield Metafield(integer $id = null)
2022
*
2123
*/
2224
class Article extends ShopifyResource

lib/Blog.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,17 @@
99

1010
namespace PHPShopify;
1111

12-
/*
12+
/**
1313
* --------------------------------------------------------------------------
1414
* Blog -> Child Resources
1515
* --------------------------------------------------------------------------
16-
* @property-read ShopifyResource $Article
17-
* @property-read ShopifyResource $Event
18-
* @property-read ShopifyResource $Metafield
16+
* @property-read Article $Article
17+
* @property-read Event $Event
18+
* @property-read Metafield $Metafield
1919
*
20-
* @method ShopifyResource Article(integer $id = null)
21-
* @method ShopifyResource Event(integer $id = null)
22-
* @method ShopifyResource Metafield(integer $id = null)
20+
* @method Article Article(integer $id = null)
21+
* @method Event Event(integer $id = null)
22+
* @method Metafield Metafield(integer $id = null)
2323
*
2424
*/
2525
class Blog extends ShopifyResource

lib/Comment.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@
1010
namespace PHPShopify;
1111

1212

13-
/*
13+
/**
1414
*
1515
* --------------------------------------------------------------------------
1616
* Comment -> Child Resources
1717
* --------------------------------------------------------------------------
18-
* @property-read ShopifyResource $Event
18+
* @property-read Event $Event
1919
*
20-
* @method ShopifyResource Event(integer $id = null)
20+
* @method Event Event(integer $id = null)
2121
*
2222
* --------------------------------------------------------------------------
2323
* Comment -> Custom actions

lib/Country.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@
1010
namespace PHPShopify;
1111

1212

13-
/*
13+
/**
1414
* --------------------------------------------------------------------------
1515
* Country -> Child Resources
1616
* --------------------------------------------------------------------------
17-
* @property-read ShopifyResource $Province
17+
* @property-read Province $Province
1818
*
19-
* @method ShopifyResource Province(integer $id = null)
19+
* @method Province Province(integer $id = null)
2020
*
2121
*/
2222
class Country extends ShopifyResource

lib/CustomCollection.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@
1010
namespace PHPShopify;
1111

1212

13-
/*
13+
/**
1414
* --------------------------------------------------------------------------
1515
* CustomCollection -> Child Resources
1616
* --------------------------------------------------------------------------
17-
* @property-read ShopifyResource $Event
18-
* @property-read ShopifyResource $Metafield
17+
* @property-read Event $Event
18+
* @property-read Metafield $Metafield
1919
*
20-
* @method ShopifyResource Event(integer $id = null)
21-
* @method ShopifyResource Metafield(integer $id = null)
20+
* @method Event Event(integer $id = null)
21+
* @method Metafield Metafield(integer $id = null)
2222
*
2323
*/
2424
class CustomCollection extends ShopifyResource

lib/Customer.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@
1010
namespace PHPShopify;
1111

1212

13-
/*
13+
/**
1414
* --------------------------------------------------------------------------
1515
* Customer -> Child Resources
1616
* --------------------------------------------------------------------------
17-
* @property-read ShopifyResource $Address
18-
* @property-read ShopifyResource $Metafield
17+
* @property-read CustomerAddress $Address
18+
* @property-read Metafield $Metafield
1919
*
20-
* @method ShopifyResource Address(integer $id = null)
21-
* @method ShopifyResource Metafield(integer $id = null)
20+
* @method CustomerAddress Address(integer $id = null)
21+
* @method Metafield Metafield(integer $id = null)
2222
* --------------------------------------------------------------------------
2323
* Customer -> Custom actions
2424
* --------------------------------------------------------------------------

lib/CustomerAddress.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,11 @@
1010
namespace PHPShopify;
1111

1212

13-
/*
13+
/**
1414
* --------------------------------------------------------------------------
1515
* CustomerAddress -> Custom actions
1616
* --------------------------------------------------------------------------
1717
* @method array makeDefault() Sets the address as default for the customer
18-
* @method array set($params) Perform bulk operations against a number of addresses
1918
*
2019
*/
2120
class CustomerAddress extends ShopifyResource

lib/CustomerSavedSearch.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@
1010
namespace PHPShopify;
1111

1212

13-
/*
13+
/**
1414
* --------------------------------------------------------------------------
1515
* CustomerSavedSearch -> Child Resources
1616
* --------------------------------------------------------------------------
17-
* @property-read ShopifyResource $Customer
17+
* @property-read Customer $Customer
1818
*
19-
* @method ShopifyResource Customer(integer $id = null)
19+
* @method Customer Customer(integer $id = null)
2020
*
2121
*/
2222
class CustomerSavedSearch extends ShopifyResource

lib/Discount.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-
/*
13+
/**
1414
* --------------------------------------------------------------------------
1515
* Discount -> Custom actions
1616
* --------------------------------------------------------------------------

lib/Fulfillment.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@
1010
namespace PHPShopify;
1111

1212

13-
/*
13+
/**
1414
* --------------------------------------------------------------------------
1515
* Fulfillment -> Child Resources
1616
* --------------------------------------------------------------------------
17-
* @property-read ShopifyResource $Event
17+
* @property-read Event $Event
1818
*
19-
* @method ShopifyResource Event(integer $id = null)
19+
* @method Event Event(integer $id = null)
2020
*
2121
* --------------------------------------------------------------------------
2222
* Fulfillment -> Custom actions

0 commit comments

Comments
 (0)