Skip to content

Commit 2550a4d

Browse files
Fixed typos
1 parent 51994b9 commit 2550a4d

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"ext-xml": "*",
2828
"php-http/cache-plugin": "^1.7",
2929
"php-http/client-common": "^2.3",
30-
"php-http/discovery": "^1.9",
30+
"php-http/discovery": "^1.12",
3131
"php-http/httplug": "^2.1",
3232
"php-http/multipart-stream-builder": "^1.1",
3333
"psr/cache": "^1.0",

phpstan-baseline.neon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
parameters:
22
ignoreErrors:
33
-
4-
message: "#^Parameter \\#1 \\$error_handler of function set_error_handler expects \\(callable\\(int, string, string, int, array\\)\\: bool\\)\\|null, Closure\\(\\)\\: void given\\.$#"
4+
message: "#^Parameter \\#1 \\$callback of function set_error_handler expects \\(callable\\(int, string, string, int, array\\)\\: bool\\)\\|null, Closure\\(\\)\\: void given\\.$#"
55
count: 1
66
path: src/Api/AbstractApi.php
77

src/HttpClient/Builder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public function __construct(
9898
$this->httpClient = $httpClient ?? Psr18ClientDiscovery::find();
9999
$this->requestFactory = $requestFactory ?? Psr17FactoryDiscovery::findRequestFactory();
100100
$this->streamFactory = $streamFactory ?? Psr17FactoryDiscovery::findStreamFactory();
101-
$this->uriFactory = $uriFactory ?? Psr17FactoryDiscovery::findUrlFactory();
101+
$this->uriFactory = $uriFactory ?? Psr17FactoryDiscovery::findUriFactory();
102102
}
103103

104104
/**

src/Model/Commit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public static function fromArray(Client $client, Project $project, array $data)
8484
*
8585
* @return void
8686
*/
87-
public function __construct(Project $project, ?int $id = null, Client $client = null)
87+
public function __construct(Project $project, ?string $id = null, Client $client = null)
8888
{
8989
$this->setClient($client);
9090
$this->setData('project', $project);

0 commit comments

Comments
 (0)