Skip to content
This repository was archived by the owner on Jan 13, 2022. It is now read-only.

Commit e7425cf

Browse files
committed
Merge pull request #367 from mlebkowski/fix/breaking-changes
revert interface change
2 parents 93ea67b + 6c904f9 commit e7425cf

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/Facebook/HttpClients/FacebookCurlHttpClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ public function getResponseHttpStatusCode()
141141
*
142142
* @throws \Facebook\FacebookSDKException
143143
*/
144-
public function send($url, $method = 'GET', array $parameters = array())
144+
public function send($url, $method = 'GET', $parameters = array())
145145
{
146146
$this->openConnection($url, $method, $parameters);
147147
$this->tryToSendRequest();

src/Facebook/HttpClients/FacebookGuzzleHttpClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ public function getResponseHttpStatusCode()
101101
*
102102
* @throws \Facebook\FacebookSDKException
103103
*/
104-
public function send($url, $method = 'GET', array $parameters = array())
104+
public function send($url, $method = 'GET', $parameters = array())
105105
{
106106
$options = array();
107107
if ($parameters) {

src/Facebook/HttpClients/FacebookHttpable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,6 @@ public function getResponseHttpStatusCode();
6363
*
6464
* @throws \Facebook\FacebookSDKException
6565
*/
66-
public function send($url, $method = 'GET', array $parameters = array());
66+
public function send($url, $method = 'GET', $parameters = array());
6767

6868
}

src/Facebook/HttpClients/FacebookStreamHttpClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public function getResponseHttpStatusCode()
9797
*
9898
* @throws \Facebook\FacebookSDKException
9999
*/
100-
public function send($url, $method = 'GET', array $parameters = array())
100+
public function send($url, $method = 'GET', $parameters = array())
101101
{
102102
$options = array(
103103
'http' => array(

0 commit comments

Comments
 (0)