Skip to content

Commit

Permalink
Set new set_http_client() methods to final
Browse files Browse the repository at this point in the history
  • Loading branch information
Art4 authored and jtojnar committed Mar 20, 2023
1 parent 778d6b5 commit bd54a17
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Locator.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public function __construct(
*
* Allows you to use your own HTTP client implementations.
*/
public function set_http_client(
final public function set_http_client(
ClientInterface $http_client,
RequestFactoryInterface $request_factory,
UriFactoryInterface $uri_factory
Expand Down
2 changes: 1 addition & 1 deletion src/Sanitize.php
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ public function pass_cache_data($enable_cache = true, $cache_location = './cache
*
* Allows you to use your own HTTP client implementations.
*/
public function set_http_client(
final public function set_http_client(
ClientInterface $http_client,
RequestFactoryInterface $request_factory,
UriFactoryInterface $uri_factory
Expand Down
2 changes: 1 addition & 1 deletion src/SimplePie.php
Original file line number Diff line number Diff line change
Expand Up @@ -815,7 +815,7 @@ public function set_raw_data(string $data)
* Allows you to use your own HTTP client implementations.
* This will become required with SimplePie 2.0.0.
*/
public function set_http_client(
final public function set_http_client(
ClientInterface $http_client,
RequestFactoryInterface $request_factory,
UriFactoryInterface $uri_factory
Expand Down

0 comments on commit bd54a17

Please sign in to comment.