Skip to content

Commit 11d424a

Browse files
author
Stephan Wentz
committed
fix: Apply Before priorities to ensure correct loading order
1 parent bc0cb32 commit 11d424a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/HttpClientMock/HttpClientMockTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ trait HttpClientMockTrait
3939
/** @var list<string> */
4040
protected array $mockRequestLoggerNames = ['monolog.logger'];
4141

42-
#[Before]
42+
#[Before(-12)]
4343
final protected function setUpMockRequestBuilder(): void
4444
{
4545
$container = static::getContainer();

src/Request/RequestTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ protected function createToken(): callable
3333
return static fn () => null;
3434
}
3535

36-
#[Before]
36+
#[Before(12)]
3737
protected function setUpRequest(): void
3838
{
3939
self::$requestClient = static::createClient();

0 commit comments

Comments
 (0)