@@ -23,7 +23,7 @@ protected function get(
23
23
if ($ response_status === 403 || $ response_status === 429 ) {
24
24
$ this ->waitThrottle ($ response_status );
25
25
26
- $ this ->get ($ url , $ query_parameters );
26
+ return $ this ->get ($ url , $ query_parameters );
27
27
}
28
28
29
29
return $ this ->parseResponse ($ response );
@@ -51,7 +51,7 @@ protected function post(
51
51
if ($ response_status === 403 || $ response_status === 429 ) {
52
52
$ this ->waitThrottle ($ response_status );
53
53
54
- $ this ->post ($ url , $ body );
54
+ return $ this ->post ($ url , $ body, $ has_file );
55
55
}
56
56
57
57
return $ this ->parseResponse ($ response );
@@ -72,7 +72,7 @@ protected function put(
72
72
if ($ response_status === 403 || $ response_status === 429 ) {
73
73
$ this ->waitThrottle ($ response_status );
74
74
75
- $ this ->put ($ url , $ body );
75
+ return $ this ->put ($ url , $ body );
76
76
}
77
77
78
78
return $ this ->parseResponse ($ response );
@@ -93,7 +93,7 @@ protected function destroy(
93
93
if ($ response_status === 403 || $ response_status === 429 ) {
94
94
$ this ->waitThrottle ($ response_status );
95
95
96
- $ this ->destroy ($ url , $ query_parameters );
96
+ return $ this ->destroy ($ url , $ query_parameters );
97
97
}
98
98
99
99
return $ this ->parseResponse ($ response );
0 commit comments