File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -265,9 +265,9 @@ The custom methods are specific to some resources which may not be available for
265265 Unlike all other actions, this function returns an integer value.
266266
267267- Comment ->
268- - [ spam ()] ( https://help.shopify.com/api/reference/comment#spam )
268+ - [ markSpam ()] ( https://help.shopify.com/api/reference/comment#spam )
269269 Mark a Comment as spam
270- - [ notSpam ()] ( https://help.shopify.com/api/reference/comment#not_spam )
270+ - [ markNotSpam ()] ( https://help.shopify.com/api/reference/comment#not_spam )
271271 Mark a Comment as not spam
272272 - [ approve()] ( https://help.shopify.com/api/reference/comment#approve )
273273 Approve a Comment
Original file line number Diff line number Diff line change 2222 * --------------------------------------------------------------------------
2323 * Comment -> Custom actions
2424 * --------------------------------------------------------------------------
25- * @method array spam() Mark a Comment as spam
26- * @method array notSpam() Mark a Comment as not spam
25+ * @method array markSpam() Mark a Comment as spam
26+ * @method array markNotSpam() Mark a Comment as not spam
2727 * @method array approve() Approve a Comment
2828 * @method array remove() Remove a Comment
2929 * @method array restore() Restore a Comment
@@ -47,10 +47,10 @@ class Comment extends ShopifyAPI
4747 * @inheritDoc
4848 */
4949 protected $ customPostActions = array (
50- 'spam ' ,
51- 'not_spam ' => ' notSpam ' ,
52- 'approve ' ,
53- 'remove ' ,
54- 'restore ' ,
50+ 'spam ' => ' markSpam ' ,
51+ 'not_spam ' => ' markNotSpam ' ,
52+ 'approve ' ,
53+ 'remove ' ,
54+ 'restore ' ,
5555 );
5656}
You can’t perform that action at this time.
0 commit comments