mirror of
https://github.com/friendica/friendica
synced 2025-03-31 08:08:38 +02:00
Coding standards
This commit is contained in:
parent
977d28353c
commit
5cf0da4140
1 changed files with 2 additions and 2 deletions
|
@ -34,7 +34,7 @@ Class PushSubscription
|
||||||
|
|
||||||
$notification = [
|
$notification = [
|
||||||
'subscription' => Subscription::create([
|
'subscription' => Subscription::create([
|
||||||
'endpoint' => $subscription['endpoint'],
|
'endpoint' => $subscription['endpoint'],
|
||||||
'publicKey' => $subscription['pubkey'],
|
'publicKey' => $subscription['pubkey'],
|
||||||
'authToken' => $subscription['secret'],
|
'authToken' => $subscription['secret'],
|
||||||
]),
|
]),
|
||||||
|
@ -47,7 +47,7 @@ Class PushSubscription
|
||||||
$notification['subscription'],
|
$notification['subscription'],
|
||||||
$notification['payload']
|
$notification['payload']
|
||||||
);
|
);
|
||||||
|
|
||||||
$endpoint = $report->getRequest()->getUri()->__toString();
|
$endpoint = $report->getRequest()->getUri()->__toString();
|
||||||
|
|
||||||
if ($report->isSuccess()) {
|
if ($report->isSuccess()) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue