diff options
Diffstat (limited to 'vendor/symfony/http-kernel/Tests/Exception/TooManyRequestsHttpExceptionTest.php')
| -rw-r--r-- | vendor/symfony/http-kernel/Tests/Exception/TooManyRequestsHttpExceptionTest.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vendor/symfony/http-kernel/Tests/Exception/TooManyRequestsHttpExceptionTest.php b/vendor/symfony/http-kernel/Tests/Exception/TooManyRequestsHttpExceptionTest.php index 6ec7f3d079..0048ec85c0 100644 --- a/vendor/symfony/http-kernel/Tests/Exception/TooManyRequestsHttpExceptionTest.php +++ b/vendor/symfony/http-kernel/Tests/Exception/TooManyRequestsHttpExceptionTest.php @@ -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); |
