Skip to content

Commit 7a751b5

Browse files
committed
count() not available for Report resource. (put in the wrong place by last commit).
1 parent ab8b983 commit 7a751b5

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

lib/Report.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,13 @@
44

55
class Report extends ShopifyResource
66
{
7+
/**
8+
* @inheritDoc
9+
*/
710
protected $resourceKey = 'report';
11+
12+
/**
13+
* @inheritDoc
14+
*/
15+
public $countEnabled = false;
816
}

tests/ReportTest.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,4 @@ class ReportTest extends TestSimpleResource
1818
public $putArray = array(
1919
"name" => "A new app report - updated",
2020
);
21-
22-
/**
23-
* @inheritDoc
24-
*/
25-
public $countEnabled = false;
2621
}

0 commit comments

Comments
 (0)