Skip to content

Commit

Permalink
fixing implicit nullable deprecations for 8.4 (#288)
Browse files Browse the repository at this point in the history
  • Loading branch information
brettmc authored Aug 21, 2024
1 parent 0470fd4 commit 1428790
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Vm/Detector.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ class Detector implements ResourceDetectorInterface
private RequestFactoryInterface $requestFactory;

public function __construct(
ClientInterface $client = null,
RequestFactoryInterface $requestFactory = null
?ClientInterface $client = null,
?RequestFactoryInterface $requestFactory = null
) {
$this->client = $client ?: Psr18ClientDiscovery::find();
$this->requestFactory = $requestFactory ?: Psr17FactoryDiscovery::findRequestFactory();
Expand Down

0 comments on commit 1428790

Please sign in to comment.