4 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
maxime 00ab381efd Update composer.json 2026-09-25 10:53:31 +02:00
maxime 2df1092c56 Update composer.json 2026-09-25 10:50:41 +02:00
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -34,8 +34,8 @@
}
},
"require": {
"guzzlehttp/guzzle": "^7.0.1",
"php": "^7.3 | ^8.0"
"guzzlehttp/guzzle": "^7.0.1 | ^8.0",
"php": "^7.4 | ^8.0"
},
"prefer-stable": true
}
+1 -1
View File
@@ -106,7 +106,7 @@ class PushApi
}
}
return $client->request('post', $url, [
return $client->request('POST', $url, [
'multipart' => $multipart_form,
'headers' => [
'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();
}