Skip to content

Commit 5edf4cf

Browse files
committed
:octocat:
1 parent 4abdd75 commit 5edf4cf

File tree

4 files changed

+5
-9
lines changed

4 files changed

+5
-9
lines changed

src/HTTPClientAbstract.php

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -128,13 +128,8 @@ public function buildQuery(array $params, bool $urlencode = null, string $delimi
128128
return implode($delimiter ?? '&', $pairs);
129129
}
130130

131-
/**
132-
* @param array $params
133-
* @param bool|null $booleans_as_string - converts booleans to "true"/"false", otherwise "0"/"1"
134-
*
135-
* @return array
136-
*/
137-
public function checkQueryParams(array $params, bool $booleans_as_string = null){
131+
/** @inheritdoc */
132+
public function checkQueryParams(array $params, bool $booleans_as_string = null):array{
138133

139134
foreach($params as $key => $value){
140135

src/HTTPClientInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,6 @@ public function buildQuery(array $params, bool $urlencode = null, string $delimi
5858
*
5959
* @return array
6060
*/
61-
public function checkQueryParams(array $params, bool $booleans_as_string = null);
61+
public function checkQueryParams(array $params, bool $booleans_as_string = null):array;
6262

6363
}

src/HTTPClientTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ protected function normalizeRequestHeaders(array $headers):array{
116116
*
117117
* @return array
118118
*/
119-
protected function checkQueryParams($params, bool $booleans_as_string = null){
119+
protected function checkQueryParams($params, bool $booleans_as_string = null):array{
120120

121121
if(is_array($params)){
122122
return $this->http->checkQueryParams($params, $booleans_as_string);

src/HTTPResponse.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ class HTTPResponse implements HTTPResponseInterface, ContainerInterface{
3838

3939
/**
4040
* @codeCoverageIgnore
41+
* @todo
4142
*
4243
* @param string $property
4344
*

0 commit comments

Comments
 (0)