|
@@ -18,7 +18,7 @@ namespace Symfony\Component\HttpKernel\Exception;
|
|
|
*/
|
|
|
class UnauthorizedHttpException extends HttpException
|
|
|
{
|
|
|
- public function __construct($message = '', $code = 0, \Exception $previous)
|
|
|
+ public function __construct($message = '', $code = 0, \Exception $previous = null)
|
|
|
{
|
|
|
if (!$message) {
|
|
|
$message = 'Unauthorized';
|