Skip to content

Commit

Permalink
[BUGFIX] Ignore false-positive PHPStan error
Browse files Browse the repository at this point in the history
  • Loading branch information
eliashaeussler authored and renovate[bot] committed Oct 14, 2024
1 parent acb5624 commit 8a48e12
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/Unit/ClientMockTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ protected function getPreparedClient(?callable $middleware = null): Client
$this->requestContainer = [];

$handlerStack = HandlerStack::create($this->mockHandler);
/* @phpstan-ignore assign.propertyType */
$history = Middleware::history($this->requestContainer);
$handlerStack->push($history);

Expand Down

0 comments on commit 8a48e12

Please sign in to comment.