File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/Implementations/Psr11 Expand file tree Collapse file tree 1 file changed +4
-4
lines changed 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
@@ -139,7 +139,7 @@ public static function candidates(): CandidatesCollection
139139 */
140140 public static function discover (): ?ContainerInterface
141141 {
142- if (self ::$ using instanceof \ Psr \ Container \ ContainerInterface) {
142+ if (self ::$ using instanceof ContainerInterface) {
143143 return self ::$ using ;
144144 }
145145
@@ -167,7 +167,7 @@ public static function set(CandidatesCollection $candidates): void
167167
168168 public static function singleton (): ?ContainerInterface
169169 {
170- if (self ::$ using instanceof \ Psr \ Container \ ContainerInterface) {
170+ if (self ::$ using instanceof ContainerInterface) {
171171 return self ::$ using ;
172172 }
173173
You can’t perform that action at this time.
0 commit comments