Skip to content

Commit a73e2ae

Browse files
committed
Base should support null returns as well
1 parent c19246f commit a73e2ae

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/ConstantContact/Base.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,35 +40,35 @@ public function success() : bool
4040
return $status >= 200 && $status < 300;
4141
}
4242

43-
protected function doDelete(array $parameters) : array
43+
protected function doDelete(array $parameters) : ?array
4444
{
4545
$url = $this->getUrl($parameters);
4646

4747
return $this->client->delete($url);
4848
}
4949

50-
protected function doGet(array $parameters) : array
50+
protected function doGet(array $parameters) : ?array
5151
{
5252
$url = $this->getUrl($parameters);
5353

5454
return $this->client->get($url, $parameters);
5555
}
5656

57-
protected function doPatch(array $parameters) : array
57+
protected function doPatch(array $parameters) : ?array
5858
{
5959
$url = $this->getUrl($parameters);
6060

6161
return $this->client->patch($url, $parameters);
6262
}
6363

64-
protected function doPost(array $parameters) : array
64+
protected function doPost(array $parameters) : ?array
6565
{
6666
$url = $this->getUrl($parameters);
6767

6868
return $this->client->post($url, $parameters);
6969
}
7070

71-
protected function doPut(array $parameters) : array
71+
protected function doPut(array $parameters) : ?array
7272
{
7373
$url = $this->getUrl($parameters);
7474

0 commit comments

Comments
 (0)