Skip to content

Commit 8006183

Browse files
committed
Use PHP class member variable type hints
1 parent 7eb2c19 commit 8006183

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

src/wp-includes/ai-client/adapters/class-wp-ai-client-http-client.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,17 +32,15 @@ class WP_AI_Client_HTTP_Client implements ClientInterface, ClientWithOptionsInte
3232
* Response factory instance.
3333
*
3434
* @since 7.0.0
35-
* @var ResponseFactoryInterface
3635
*/
37-
private $response_factory;
36+
private ResponseFactoryInterface $response_factory;
3837

3938
/**
4039
* Stream factory instance.
4140
*
4241
* @since 7.0.0
43-
* @var StreamFactoryInterface
4442
*/
45-
private $stream_factory;
43+
private StreamFactoryInterface $stream_factory;
4644

4745
/**
4846
* Constructor.

0 commit comments

Comments
 (0)