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 TooManyRequestsHttpExceptionTest extends HttpExceptionTest
public function testHeadersDefaultRertyAfter()
{
$exception = new TooManyRequestsHttpException(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=69',
);
];
$exception = new TooManyRequestsHttpException(69, null, null, null, $headers);