Skip to content

Array to string on exception.. #131

Closed
@gmponos

Description

@gmponos
Q A
Bug? yes
Version master

Hello can you check the following build: https://travis-ci.org/florianv/exchanger/jobs/474973917

The reason is that on this line: https://github.com/php-http/discovery/blob/master/src/Exception/NoCandidateFoundException.php#L27 variable $classes contains:

array (
  0 => 'Http\\Adapter\\Guzzle6\\Client',
  1 => 'Http\\Adapter\\Guzzle5\\Client',
  2 => 'Http\\Client\\Curl\\Client',
  3 => 'Http\\Client\\Socket\\Client',
  4 => 'Http\\Adapter\\Buzz\\Client',
  5 => 'Http\\Adapter\\React\\Client',
  6 => 'Http\\Adapter\\Cake\\Client',
  7 => 'Http\\Adapter\\Zend\\Client',
  8 => 'Http\\Adapter\\Artax\\Client',
  9 => 
  array (
    0 => 'Http\\Discovery\\Strategy\\CommonClassesStrategy',
    1 => 'buzzInstantiate',
  ),
)

You can see the double array above.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions