Skip to content

Commit ed16c93

Browse files
committed
Update Clients.php
1 parent de280c6 commit ed16c93

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/Implementations/Psr18/Clients.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,12 @@ public static function candidates(): CandidatesCollection
142142
self::$candidates->add(CandidateEntity::create(
143143
package: 'nimbly/shuttle',
144144
version: '^1.0',
145-
builder: static fn (string $class = '\Nimbly\Shuttle\Shuttle'): object => new $class(),
145+
builder: static fn (string $class = '\Nimbly\Shuttle\Shuttle'): object => new $class(
146+
requestFactory: Discover::httpRequestFactory(),
147+
responseFactory: Discover::httpResponseFactory(),
148+
streamFactory: Discover::httpStreamFactory(),
149+
uriFactory: Discover::httpUriFactory(),
150+
),
146151
));
147152

148153
return self::$candidates;

0 commit comments

Comments
 (0)