diff --git a/config/response.php b/config/response.php index 981c378..9994085 100644 --- a/config/response.php +++ b/config/response.php @@ -12,5 +12,5 @@ return [ 'enum' => \Jiannei\Response\Laravel\Repositories\Enums\ResponseCodeEnum::class, - 'validation_error_code' => \Jiannei\Response\Laravel\Repositories\Enums\ResponseCodeEnum::HTTP_UNPROCESSABLE_ENTITY + 'validation_error_code' => \Jiannei\Response\Laravel\Repositories\Enums\ResponseCodeEnum::HTTP_UNPROCESSABLE_ENTITY, ]; diff --git a/src/Repositories/Enums/HttpStatusCodeEnum.php b/src/Repositories/Enums/HttpStatusCodeEnum.php index e333167..e927e9a 100644 --- a/src/Repositories/Enums/HttpStatusCodeEnum.php +++ b/src/Repositories/Enums/HttpStatusCodeEnum.php @@ -1,9 +1,16 @@ + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ namespace Jiannei\Response\Laravel\Repositories\Enums; - use Jiannei\Enum\Laravel\Contracts\LocalizedEnumContract; use Jiannei\Enum\Laravel\Enum; @@ -72,4 +79,4 @@ class HttpStatusCodeEnum extends Enum implements LocalizedEnumContract const HTTP_LOOP_DETECTED = 508; // RFC5842 const HTTP_NOT_EXTENDED = 510; // RFC2774 const HTTP_NETWORK_AUTHENTICATION_REQUIRED = 511; // RFC6585 -} \ No newline at end of file +} diff --git a/src/Repositories/Enums/ResponseCodeEnum.php b/src/Repositories/Enums/ResponseCodeEnum.php index a4a3172..f3cf0d2 100644 --- a/src/Repositories/Enums/ResponseCodeEnum.php +++ b/src/Repositories/Enums/ResponseCodeEnum.php @@ -13,5 +13,4 @@ abstract class ResponseCodeEnum extends HttpStatusCodeEnum { - }