Skip to content

Commit 8fce25e

Browse files
committed
removed the dependency on PHP7
1 parent 8b81a55 commit 8fce25e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/BrightLocal/Api.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ public function get_last_http_code() {
136136
* @param array $params
137137
* @return array
138138
*/
139-
private function get_options(string $httpMethod, array $params):array {
139+
private function get_options($httpMethod, $params) {
140140
if ($httpMethod === static::HTTP_METHOD_GET) {
141141
return ['query' => $params];
142142
}
@@ -152,7 +152,7 @@ private function get_options(string $httpMethod, array $params):array {
152152
* @param array $params
153153
* @return array
154154
*/
155-
private function convert_to_multipart(array $params):array {
155+
private function convert_to_multipart($params) {
156156
$multipart = [];
157157
foreach ($params as $key => $value) {
158158
$multipart[] = [

0 commit comments

Comments
 (0)