@@ -65,7 +65,7 @@ public function getRequest()
65
65
* @throws NetworkException
66
66
* @throws ConnectionTimeoutException
67
67
*/
68
- public function get (array $ queryParameters = null )
68
+ public function get (array $ queryParameters = array () )
69
69
{
70
70
$ this ->request
71
71
->setMethod (RequestInterface::REQUEST_METHOD_GET )
@@ -81,7 +81,7 @@ public function get(array $queryParameters = null)
81
81
* @throws NetworkException
82
82
* @throws ConnectionTimeoutException
83
83
*/
84
- public function head (array $ queryParameters = null )
84
+ public function head (array $ queryParameters = array () )
85
85
{
86
86
$ this ->request
87
87
->setMethod (RequestInterface::REQUEST_METHOD_HEAD )
@@ -97,7 +97,7 @@ public function head(array $queryParameters = null)
97
97
* @throws NetworkException
98
98
* @throws ConnectionTimeoutException
99
99
*/
100
- public function post (array $ postData = null )
100
+ public function post (array $ postData = array () )
101
101
{
102
102
$ this ->request
103
103
->getMessage ()
@@ -114,7 +114,7 @@ public function post(array $postData = null)
114
114
* @throws NetworkException
115
115
* @throws ConnectionTimeoutException
116
116
*/
117
- public function put (array $ putData = null )
117
+ public function put (array $ putData = array () )
118
118
{
119
119
$ this ->request
120
120
->getMessage ()
@@ -131,7 +131,7 @@ public function put(array $putData = null)
131
131
* @throws NetworkException
132
132
* @throws ConnectionTimeoutException
133
133
*/
134
- public function patch (array $ patchData = null )
134
+ public function patch (array $ patchData = array () )
135
135
{
136
136
$ this ->request
137
137
->getMessage ()
@@ -148,7 +148,7 @@ public function patch(array $patchData = null)
148
148
* @throws NetworkException
149
149
* @throws ConnectionTimeoutException
150
150
*/
151
- public function delete (array $ queryParameters = null )
151
+ public function delete (array $ queryParameters = array () )
152
152
{
153
153
$ this ->request
154
154
->setMethod (RequestInterface::REQUEST_METHOD_DELETE )
0 commit comments