File tree Expand file tree Collapse file tree
src/Implementations/Psr18 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ public static function add(CandidateEntity $candidate): void
3232 */
3333 public static function allCandidates (): CandidatesCollection
3434 {
35- if (self ::$ extendedCandidates instanceof \ PsrDiscovery \ Collections \ CandidatesCollection) {
35+ if (self ::$ extendedCandidates instanceof CandidatesCollection) {
3636 return self ::$ extendedCandidates ;
3737 }
3838
@@ -47,7 +47,7 @@ public static function allCandidates(): CandidatesCollection
4747 */
4848 public static function candidates (): CandidatesCollection
4949 {
50- if (self ::$ candidates instanceof \ PsrDiscovery \ Collections \ CandidatesCollection) {
50+ if (self ::$ candidates instanceof CandidatesCollection) {
5151 return self ::$ candidates ;
5252 }
5353
@@ -141,7 +141,7 @@ public static function candidates(): CandidatesCollection
141141 */
142142 public static function discover (): ?ClientInterface
143143 {
144- if (self ::$ using instanceof \ Psr \ Http \ Client \ ClientInterface) {
144+ if (self ::$ using instanceof ClientInterface) {
145145 return self ::$ using ;
146146 }
147147
@@ -169,7 +169,7 @@ public static function set(CandidatesCollection $candidates): void
169169
170170 public static function singleton (): ?ClientInterface
171171 {
172- if (self ::$ using instanceof \ Psr \ Http \ Client \ ClientInterface) {
172+ if (self ::$ using instanceof ClientInterface) {
173173 return self ::$ using ;
174174 }
175175
You can’t perform that action at this time.
0 commit comments