File tree Expand file tree Collapse file tree 13 files changed +13
-13
lines changed Expand file tree Collapse file tree 13 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ public function tags(array $query = []): ClientResponse
94
94
95
95
private function mapFromPco (ClientResponse $ clientResponse ): void
96
96
{
97
- $ records = objectify ($ clientResponse ->meta ->response ->json ("data " ));
97
+ $ records = objectify ($ clientResponse ->meta ->response ->json ("data " , [] ));
98
98
99
99
if (!is_iterable ($ records )) {
100
100
return ;
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ public function get(array $query = []): ClientResponse
87
87
88
88
private function mapFromPco (ClientResponse $ clientResponse ): void
89
89
{
90
- $ records = objectify ($ clientResponse ->meta ->response ->json ("data " ));
90
+ $ records = objectify ($ clientResponse ->meta ->response ->json ("data " , [] ));
91
91
92
92
if (!is_iterable ($ records )) {
93
93
return ;
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ public function all(array $query = []): ClientResponse
46
46
/** @internal */
47
47
public function mapFromPco (ClientResponse $ clientResponse ): void
48
48
{
49
- $ records = objectify ($ clientResponse ->meta ->response ->json ("data " ));
49
+ $ records = objectify ($ clientResponse ->meta ->response ->json ("data " , [] ));
50
50
51
51
if (!is_iterable ($ records )) {
52
52
return ;
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ public function tags(array $query = []): ClientResponse
53
53
54
54
private function mapFromPco (ClientResponse $ clientResponse ): void
55
55
{
56
- $ records = objectify ($ clientResponse ->meta ->response ->json ("data " ));
56
+ $ records = objectify ($ clientResponse ->meta ->response ->json ("data " , [] ));
57
57
58
58
if (!is_iterable ($ records )) {
59
59
return ;
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ public function get(array $query = []): ClientResponse
63
63
64
64
private function mapFromPco (ClientResponse $ clientResponse ): void
65
65
{
66
- $ records = objectify ($ clientResponse ->meta ->response ->json ("data " ));
66
+ $ records = objectify ($ clientResponse ->meta ->response ->json ("data " , [] ));
67
67
68
68
if (!is_iterable ($ records )) {
69
69
return ;
Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ public function tags(array $query = []): ClientResponse
106
106
107
107
protected function mapFromPco (ClientResponse $ clientResponse ): void
108
108
{
109
- $ records = objectify ($ clientResponse ->meta ->response ->json ("data " ));
109
+ $ records = objectify ($ clientResponse ->meta ->response ->json ("data " , [] ));
110
110
111
111
if (!is_iterable ($ records )) {
112
112
return ;
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ public function get(array $query = []): ClientResponse
49
49
50
50
protected function mapFromPco (ClientResponse $ clientResponse ): void
51
51
{
52
- $ records = objectify ($ clientResponse ->meta ->response ->json ("data " ));
52
+ $ records = objectify ($ clientResponse ->meta ->response ->json ("data " , [] ));
53
53
54
54
if (!is_iterable ($ records )) {
55
55
return ;
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ public function get(array $query = []): ClientResponse
50
50
51
51
protected function mapFromPco (ClientResponse $ clientResponse ): void
52
52
{
53
- $ records = objectify ($ clientResponse ->meta ->response ->json ("data " ));
53
+ $ records = objectify ($ clientResponse ->meta ->response ->json ("data " , [] ));
54
54
55
55
if (!is_iterable ($ records )) {
56
56
return ;
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ public function get(array $query = []): ClientResponse
54
54
55
55
protected function mapFromPco (ClientResponse $ clientResponse ): void
56
56
{
57
- $ records = objectify ($ clientResponse ->meta ->response ->json ("data " ));
57
+ $ records = objectify ($ clientResponse ->meta ->response ->json ("data " , [] ));
58
58
59
59
if (!is_iterable ($ records )) {
60
60
return ;
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ public function groups(array $query = []): ClientResponse
56
56
57
57
protected function mapFromPco (ClientResponse $ clientResponse ): void
58
58
{
59
- $ records = objectify ($ clientResponse ->meta ->response ->json ("data " ));
59
+ $ records = objectify ($ clientResponse ->meta ->response ->json ("data " , [] ));
60
60
61
61
if (!is_iterable ($ records )) {
62
62
return ;
You can’t perform that action at this time.
0 commit comments