File tree Expand file tree Collapse file tree 3 files changed +24
-6
lines changed Expand file tree Collapse file tree 3 files changed +24
-6
lines changed Original file line number Diff line number Diff line change @@ -22,11 +22,17 @@ final class MessageFactoryDiscovery extends ClassDiscovery
22
22
protected static $ classes = [
23
23
'guzzle ' => [
24
24
'class ' => 'Http\Discovery\MessageFactory\GuzzleMessageFactory ' ,
25
- 'condition ' => 'GuzzleHttp\Psr7\Request ' ,
25
+ 'condition ' => [
26
+ 'Http\Discovery\MessageFactory\GuzzleMessageFactory ' ,
27
+ 'GuzzleHttp\Psr7\Request ' ,
28
+ ],
26
29
],
27
30
'diactoros ' => [
28
31
'class ' => 'Http\Discovery\MessageFactory\DiactorosMessageFactory ' ,
29
- 'condition ' => 'Zend\Diactoros\Request ' ,
32
+ 'condition ' => [
33
+ 'Http\Discovery\MessageFactory\DiactorosMessageFactory ' ,
34
+ 'Zend\Diactoros\Request ' ,
35
+ ],
30
36
],
31
37
];
32
38
Original file line number Diff line number Diff line change @@ -22,11 +22,17 @@ final class StreamFactoryDiscovery extends ClassDiscovery
22
22
protected static $ classes = [
23
23
'guzzle ' => [
24
24
'class ' => 'Http\Discovery\StreamFactory\GuzzleStreamFactory ' ,
25
- 'condition ' => 'GuzzleHttp\Psr7\Stream ' ,
25
+ 'condition ' => [
26
+ 'Http\Discovery\StreamFactory\GuzzleStreamFactory ' ,
27
+ 'GuzzleHttp\Psr7\Stream ' ,
28
+ ],
26
29
],
27
30
'diactoros ' => [
28
31
'class ' => 'Http\Discovery\StreamFactory\DiactorosStreamFactory ' ,
29
- 'condition ' => 'Zend\Diactoros\Stream ' ,
32
+ 'condition ' => [
33
+ 'Http\Discovery\StreamFactory\DiactorosStreamFactory ' ,
34
+ 'Zend\Diactoros\Stream ' ,
35
+ ],
30
36
],
31
37
];
32
38
Original file line number Diff line number Diff line change @@ -22,11 +22,17 @@ final class UriFactoryDiscovery extends ClassDiscovery
22
22
protected static $ classes = [
23
23
'guzzle ' => [
24
24
'class ' => 'Http\Discovery\UriFactory\GuzzleUriFactory ' ,
25
- 'condition ' => 'GuzzleHttp\Psr7\Uri ' ,
25
+ 'condition ' => [
26
+ 'Http\Discovery\UriFactory\GuzzleUriFactory ' ,
27
+ 'GuzzleHttp\Psr7\Uri ' ,
28
+ ],
26
29
],
27
30
'diactoros ' => [
28
31
'class ' => 'Http\Discovery\UriFactory\DiactorosUriFactory ' ,
29
- 'condition ' => 'Zend\Diactoros\Uri ' ,
32
+ 'condition ' => [
33
+ 'Http\Discovery\UriFactory\DiactorosUriFactory ' ,
34
+ 'Zend\Diactoros\Uri ' ,
35
+ ],
30
36
],
31
37
];
32
38
You can’t perform that action at this time.
0 commit comments