2 Commits
Author SHA1 Message Date
maxime a57b8fbfa5 Update src/PushTemplate.php 2026-09-25 12:09:33 +02:00
maxime 70d09c4c7c Update src/PushApi.php 2026-09-25 12:08:37 +02:00
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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,
+1 -1
View File
@@ -297,7 +297,7 @@ class PushTemplate implements \JsonSerializable
]; ];
} }
public function jsonSerialize() public function jsonSerialize(): mixed
{ {
return $this->toArray(); return $this->toArray();
} }