Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a57b8fbfa5 | ||
|
|
70d09c4c7c |
+1
-1
@@ -106,7 +106,7 @@ class PushApi
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return $client->request('post', $url, [
|
return $client->request('POST', $url, [
|
||||||
'multipart' => $multipart_form,
|
'multipart' => $multipart_form,
|
||||||
'headers' => [
|
'headers' => [
|
||||||
'Authorization' => 'Bearer ' . $this->api_key,
|
'Authorization' => 'Bearer ' . $this->api_key,
|
||||||
|
|||||||
@@ -297,7 +297,7 @@ class PushTemplate implements \JsonSerializable
|
|||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
public function jsonSerialize()
|
public function jsonSerialize(): mixed
|
||||||
{
|
{
|
||||||
return $this->toArray();
|
return $this->toArray();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user