File tree Expand file tree Collapse file tree 3 files changed +12
-12
lines changed
src/Implementations/Psr17 Expand file tree Collapse file tree 3 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ public static function add(CandidateEntity $candidate): void
3333 */
3434 public static function allCandidates (): CandidatesCollection
3535 {
36- if (self ::$ extendedCandidates instanceof \ PsrDiscovery \ Collections \ CandidatesCollection) {
36+ if (self ::$ extendedCandidates instanceof CandidatesCollection) {
3737 return self ::$ extendedCandidates ;
3838 }
3939
@@ -48,7 +48,7 @@ public static function allCandidates(): CandidatesCollection
4848 */
4949 public static function candidates (): CandidatesCollection
5050 {
51- if (self ::$ candidates instanceof \ PsrDiscovery \ Collections \ CandidatesCollection) {
51+ if (self ::$ candidates instanceof CandidatesCollection) {
5252 return self ::$ candidates ;
5353 }
5454
@@ -134,7 +134,7 @@ public static function candidates(): CandidatesCollection
134134 */
135135 public static function discover (): ?RequestFactoryInterface
136136 {
137- if (self ::$ using instanceof \ Psr \ Http \ Message \ RequestFactoryInterface) {
137+ if (self ::$ using instanceof RequestFactoryInterface) {
138138 return self ::$ using ;
139139 }
140140
@@ -162,7 +162,7 @@ public static function set(CandidatesCollection $candidates): void
162162
163163 public static function singleton (): ?RequestFactoryInterface
164164 {
165- if (self ::$ using instanceof \ Psr \ Http \ Message \ RequestFactoryInterface) {
165+ if (self ::$ using instanceof RequestFactoryInterface) {
166166 return self ::$ using ;
167167 }
168168
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ public static function add(CandidateEntity $candidate): void
3333 */
3434 public static function allCandidates (): CandidatesCollection
3535 {
36- if (self ::$ extendedCandidates instanceof \ PsrDiscovery \ Collections \ CandidatesCollection) {
36+ if (self ::$ extendedCandidates instanceof CandidatesCollection) {
3737 return self ::$ extendedCandidates ;
3838 }
3939
@@ -48,7 +48,7 @@ public static function allCandidates(): CandidatesCollection
4848 */
4949 public static function candidates (): CandidatesCollection
5050 {
51- if (self ::$ candidates instanceof \ PsrDiscovery \ Collections \ CandidatesCollection) {
51+ if (self ::$ candidates instanceof CandidatesCollection) {
5252 return self ::$ candidates ;
5353 }
5454
@@ -134,7 +134,7 @@ public static function candidates(): CandidatesCollection
134134 */
135135 public static function discover (): ?ResponseFactoryInterface
136136 {
137- if (self ::$ using instanceof \ Psr \ Http \ Message \ ResponseFactoryInterface) {
137+ if (self ::$ using instanceof ResponseFactoryInterface) {
138138 return self ::$ using ;
139139 }
140140
@@ -162,7 +162,7 @@ public static function set(CandidatesCollection $candidates): void
162162
163163 public static function singleton (): ?ResponseFactoryInterface
164164 {
165- if (self ::$ using instanceof \ Psr \ Http \ Message \ ResponseFactoryInterface) {
165+ if (self ::$ using instanceof ResponseFactoryInterface) {
166166 return self ::$ using ;
167167 }
168168
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ public static function add(CandidateEntity $candidate): void
3333 */
3434 public static function allCandidates (): CandidatesCollection
3535 {
36- if (self ::$ extendedCandidates instanceof \ PsrDiscovery \ Collections \ CandidatesCollection) {
36+ if (self ::$ extendedCandidates instanceof CandidatesCollection) {
3737 return self ::$ extendedCandidates ;
3838 }
3939
@@ -48,7 +48,7 @@ public static function allCandidates(): CandidatesCollection
4848 */
4949 public static function candidates (): CandidatesCollection
5050 {
51- if (self ::$ candidates instanceof \ PsrDiscovery \ Collections \ CandidatesCollection) {
51+ if (self ::$ candidates instanceof CandidatesCollection) {
5252 return self ::$ candidates ;
5353 }
5454
@@ -134,7 +134,7 @@ public static function candidates(): CandidatesCollection
134134 */
135135 public static function discover (): ?StreamFactoryInterface
136136 {
137- if (self ::$ using instanceof \ Psr \ Http \ Message \ StreamFactoryInterface) {
137+ if (self ::$ using instanceof StreamFactoryInterface) {
138138 return self ::$ using ;
139139 }
140140
@@ -162,7 +162,7 @@ public static function set(CandidatesCollection $candidates): void
162162
163163 public static function singleton (): ?StreamFactoryInterface
164164 {
165- if (self ::$ using instanceof \ Psr \ Http \ Message \ StreamFactoryInterface) {
165+ if (self ::$ using instanceof StreamFactoryInterface) {
166166 return self ::$ using ;
167167 }
168168
You can’t perform that action at this time.
0 commit comments