Skip to content

Commit 4840a2a

Browse files
authored
feat: support nimbly/shuttle discovery (#7)
This PR adds support for [`nimbly/shuttle`](https://github.com/nimbly/Shuttle) discovery as a PSR-18 HTTP Client implementation.
1 parent f5233bc commit 4840a2a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/Implementations/Psr18/Clients.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,12 @@ public static function candidates(): CandidatesCollection
139139
builder: static fn (string $class = '\Joomla\Http\Http'): object => new $class(),
140140
));
141141

142+
self::$candidates->add(CandidateEntity::create(
143+
package: 'nimbly/shuttle',
144+
version: '^1.0',
145+
builder: static fn (string $class = '\Nimbly\Shuttle\Shuttle'): object => new $class(),
146+
));
147+
142148
return self::$candidates;
143149
}
144150

0 commit comments

Comments
 (0)