Skip to content
This repository was archived by the owner on Apr 29, 2024. It is now read-only.

Commit 89ad098

Browse files
author
Simon Yousoufov
committed
Change order of constructor parameters:
1 parent 1f481d0 commit 89ad098

14 files changed

+19
-19
lines changed

src/AccessDeniedHttpException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class AccessDeniedHttpException extends HttpException
2727
* @param array $headers
2828
* @param \Exception $previous
2929
*/
30-
public function __construct($message = null, $error_formatted = null, array $error_data = [], array $headers = [], \Exception $previous = null)
30+
public function __construct($message = null, array $error_data = [], $error_formatted = null, array $headers = [], \Exception $previous = null)
3131
{
3232
parent::__construct($message, $error_formatted, $error_data, $headers, self::HTTP_CODE, $previous);
3333
}

src/BadRequestHttpException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class BadRequestHttpException extends HttpException
2727
* @param array $headers
2828
* @param \Exception $previous
2929
*/
30-
public function __construct($message = null, $error_formatted = null, array $error_data = [], array $headers = [], \Exception $previous = null)
30+
public function __construct($message = null, array $error_data = [], $error_formatted = null, array $headers = [], \Exception $previous = null)
3131
{
3232
parent::__construct($message, $error_formatted, $error_data, $headers, self::HTTP_CODE, $previous);
3333
}

src/ConflictHttpException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class ConflictHttpException extends HttpException
2727
* @param array $headers
2828
* @param \Exception $previous
2929
*/
30-
public function __construct($message = null, $error_formatted = null, array $error_data = [], array $headers = [], \Exception $previous = null)
30+
public function __construct($message = null, array $error_data = [], $error_formatted = null, array $headers = [], \Exception $previous = null)
3131
{
3232
parent::__construct($message, $error_formatted, $error_data, $headers, self::HTTP_CODE, $previous);
3333
}

src/GoneHttpException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class GoneHttpException extends HttpException
2727
* @param array $headers
2828
* @param \Exception $previous
2929
*/
30-
public function __construct($message = null, $error_formatted = null, array $error_data = [], array $headers = [], \Exception $previous = null)
30+
public function __construct($message = null, array $error_data = [], $error_formatted = null, array $headers = [], \Exception $previous = null)
3131
{
3232
parent::__construct($message, $error_formatted, $error_data, $headers, self::HTTP_CODE, $previous);
3333
}

src/InternalServerErrorHttpException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class InternalServerErrorHttpException extends HttpException
2727
* @param array $headers
2828
* @param \Exception $previous
2929
*/
30-
public function __construct($message = null, $error_formatted = null, array $error_data = [], array $headers = [], \Exception $previous = null)
30+
public function __construct($message = null, array $error_data = [], $error_formatted = null, array $headers = [], \Exception $previous = null)
3131
{
3232
parent::__construct($message, $error_formatted, $error_data, $headers, self::HTTP_CODE, $previous);
3333
}

src/LengthRequiredHttpException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class LengthRequiredHttpException extends HttpException
2727
* @param array $headers
2828
* @param \Exception $previous
2929
*/
30-
public function __construct($message = null, $error_formatted = null, array $error_data = [], array $headers = [], \Exception $previous = null)
30+
public function __construct($message = null, array $error_data = [], $error_formatted = null, array $headers = [], \Exception $previous = null)
3131
{
3232
parent::__construct($message, $error_formatted, $error_data, $headers, self::HTTP_CODE, $previous);
3333
}

src/NotAcceptableHttpException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class NotAcceptableHttpException extends HttpException
2727
* @param array $headers
2828
* @param \Exception $previous
2929
*/
30-
public function __construct($message = null, $error_formatted = null, array $error_data = [], array $headers = [], \Exception $previous = null)
30+
public function __construct($message = null, array $error_data = [], $error_formatted = null, array $headers = [], \Exception $previous = null)
3131
{
3232
parent::__construct($message, $error_formatted, $error_data, $headers, self::HTTP_CODE, $previous);
3333
}

src/NotFoundHttpException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class NotFoundHttpException extends HttpException
2727
* @param array $headers
2828
* @param \Exception $previous
2929
*/
30-
public function __construct($message = null, $error_formatted = null, array $error_data = [], array $headers = [], \Exception $previous = null)
30+
public function __construct($message = null, array $error_data = [], $error_formatted = null, array $headers = [], \Exception $previous = null)
3131
{
3232
parent::__construct($message, $error_formatted, $error_data, $headers, self::HTTP_CODE, $previous);
3333
}

src/PreconditionFailedHttpException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class PreconditionFailedHttpException extends HttpException
2727
* @param array $headers
2828
* @param \Exception $previous
2929
*/
30-
public function __construct($message = null, $error_formatted = null, array $error_data = [], array $headers = [], \Exception $previous = null)
30+
public function __construct($message = null, array $error_data = [], $error_formatted = null, array $headers = [], \Exception $previous = null)
3131
{
3232
parent::__construct($message, $error_formatted, $error_data, $headers, self::HTTP_CODE, $previous);
3333
}

src/PreconditionRequiredHttpException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class PreconditionRequiredHttpException extends HttpException
2727
* @param array $headers
2828
* @param \Exception $previous
2929
*/
30-
public function __construct($message = null, $error_formatted = null, array $error_data = [], array $headers = [], \Exception $previous = null)
30+
public function __construct($message = null, array $error_data = [], $error_formatted = null, array $headers = [], \Exception $previous = null)
3131
{
3232
parent::__construct($message, $error_formatted, $error_data, $headers, self::HTTP_CODE, $previous);
3333
}

0 commit comments

Comments
 (0)