You are here

public function ResponseTest::invalidContentProvider in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-foundation/Tests/ResponseTest.php \Symfony\Component\HttpFoundation\Tests\ResponseTest::invalidContentProvider()

File

vendor/symfony/http-foundation/Tests/ResponseTest.php, line 850

Class

ResponseTest

Namespace

Symfony\Component\HttpFoundation\Tests

Code

public function invalidContentProvider() {
  return array(
    'obj' => array(
      new \stdClass(),
    ),
    'array' => array(
      array(),
    ),
    'bool' => array(
      true,
      '1',
    ),
  );
}