Skip to content

Commit 2fe327e

Browse files
committed
Add missing bools
1 parent 7eeaaf0 commit 2fe327e

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

CultureFeed/CultureFeed/DefaultOAuthClient.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public function consumerPost(
6666
string $path,
6767
array $params = array(),
6868
bool $raw_post = true,
69-
$has_file_upload = false,
69+
bool $has_file_upload = false,
7070
string $format = ''
7171
)
7272
{
@@ -76,8 +76,8 @@ public function consumerPost(
7676
public function consumerPostAsXml(
7777
string $path,
7878
array $params = array(),
79-
$raw_post = true,
80-
$has_file_upload = false
79+
bool $raw_post = true,
80+
bool $has_file_upload = false
8181
)
8282
{
8383
return $this->consumerPost($path, $params, $raw_post, $has_file_upload, 'xml');
@@ -86,8 +86,8 @@ public function consumerPostAsXml(
8686
public function consumerPostAsJson(
8787
string $path,
8888
array $params = array(),
89-
$raw_post = true,
90-
$has_file_upload = false
89+
bool $raw_post = true,
90+
bool $has_file_upload = false
9191
)
9292
{
9393
return $this->consumerPost($path, $params, $raw_post, $has_file_upload, 'json');

CultureFeed/CultureFeed/OAuthClient.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,22 +16,22 @@ public function consumerPost(
1616
string $path,
1717
array $params = array(),
1818
bool $raw_post = true,
19-
$has_file_upload = false,
19+
bool $has_file_upload = false,
2020
string $format = ''
2121
);
2222

2323
public function consumerPostAsXml(
2424
string $path,
2525
array $params = array(),
26-
$raw_post = true,
27-
$has_file_upload = false
26+
bool $raw_post = true,
27+
bool $has_file_upload = false
2828
);
2929

3030
public function consumerPostAsJson(
3131
string $path,
3232
array $params = array(),
33-
$raw_post = true,
34-
$has_file_upload = false
33+
bool $raw_post = true,
34+
bool $has_file_upload = false
3535
);
3636

3737
public function authenticatedGet(string $path, array $params = array(), string $format = '');
@@ -79,4 +79,4 @@ public function request(
7979

8080
public function getUrl(string $path, array $query = array()): string;
8181

82-
}
82+
}

0 commit comments

Comments
 (0)