Skip to content

Commit 62ace20

Browse files
redjanymredjanym
authored andcommitted
SensioLabs Insight fixes
1 parent 08ce6f1 commit 62ace20

File tree

8 files changed

+9
-15
lines changed

8 files changed

+9
-15
lines changed

.gitignore

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1 @@
11
vendor
2-
.project
3-
.buildpath
4-
.settings
5-
.idea

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,4 +93,4 @@ $client->setApiKey($server_key);
9393
$response = $client->removeTopicSubscription('_SOME_TOPIC_ID_', ['_FIRST_TOKEN_', '_SECOND_TOKEN_']);
9494
var_dump($response->getStatusCode());
9595
var_dump($response->getBody()->getContents());
96-
```
96+
```

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@
3232
"sngrl\\PhpFirebaseCloudMessaging\\Tests\\": "tests/"
3333
}
3434
}
35-
}
35+
}

phpunit.xml.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@
1414
</exclude>
1515
</whitelist>
1616
</filter>
17-
</phpunit>
17+
</phpunit>

src/ClientInterface.php

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
<?php
22
namespace sngrl\PhpFirebaseCloudMessaging;
33

4-
use GuzzleHttp;
5-
64
/**
75
*
86
* @author sngrl
@@ -19,7 +17,7 @@ interface ClientInterface
1917
*
2018
* @return \sngrl\PhpFirebaseCloudMessaging\Client
2119
*/
22-
function setApiKey($apiKey);
20+
public function setApiKey($apiKey);
2321

2422

2523
/**
@@ -29,7 +27,7 @@ function setApiKey($apiKey);
2927
*
3028
* @return \sngrl\PhpFirebaseCloudMessaging\Client
3129
*/
32-
function setProxyApiUrl($url);
30+
public function setProxyApiUrl($url);
3331

3432
/**
3533
* sends your notification to the google servers and returns a guzzle repsonse object
@@ -40,6 +38,6 @@ function setProxyApiUrl($url);
4038
* @return \Psr\Http\Message\ResponseInterface
4139
* @throws \GuzzleHttp\Exception\RequestException
4240
*/
43-
function send(Message $message);
41+
public function send(Message $message);
4442

4543
}

src/Recipient/Device.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ public function getToken()
1515
{
1616
return $this->token;
1717
}
18-
}
18+
}

src/Recipient/Recipient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ public function toJson()
1515
{
1616
return $this->to;
1717
}
18-
}
18+
}

src/Recipient/Topic.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ public function getName()
1515
{
1616
return $this->name;
1717
}
18-
}
18+
}

0 commit comments

Comments
 (0)