We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b81a55 commit 8fce25eCopy full SHA for 8fce25e
src/BrightLocal/Api.php
@@ -136,7 +136,7 @@ public function get_last_http_code() {
136
* @param array $params
137
* @return array
138
*/
139
- private function get_options(string $httpMethod, array $params):array {
+ private function get_options($httpMethod, $params) {
140
if ($httpMethod === static::HTTP_METHOD_GET) {
141
return ['query' => $params];
142
}
@@ -152,7 +152,7 @@ private function get_options(string $httpMethod, array $params):array {
152
153
154
155
- private function convert_to_multipart(array $params):array {
+ private function convert_to_multipart($params) {
156
$multipart = [];
157
foreach ($params as $key => $value) {
158
$multipart[] = [
0 commit comments