updated packages

This commit is contained in:
2019-05-18 09:06:43 +00:00
parent 901d16349e
commit e9487fa58a
2025 changed files with 30366 additions and 49653 deletions

View File

@@ -9,14 +9,14 @@ class ServiceUnavailableHttpExceptionTest extends HttpExceptionTest
public function testHeadersDefaultRetryAfter()
{
$exception = new ServiceUnavailableHttpException(10);
$this->assertSame(array('Retry-After' => 10), $exception->getHeaders());
$this->assertSame(['Retry-After' => 10], $exception->getHeaders());
}
public function testWithHeaderConstruct()
{
$headers = array(
$headers = [
'Cache-Control' => 'public, s-maxage=1337',
);
];
$exception = new ServiceUnavailableHttpException(1337, null, null, null, $headers);