Augmentation vers version 3.3.0
This commit is contained in:
@@ -24,7 +24,7 @@ class MethodNotAllowedHttpException extends HttpException
|
||||
*/
|
||||
public function __construct(array $allow, $message = null, \Exception $previous = null, $code = 0)
|
||||
{
|
||||
$headers = array('Allow' => strtoupper(implode(', ', $allow)));
|
||||
$headers = ['Allow' => strtoupper(implode(', ', $allow))];
|
||||
|
||||
parent::__construct(405, $message, $previous, $headers, $code);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user