Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
jiannei committed Dec 12, 2020
1 parent e892353 commit f2147f2
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion config/response.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
];
11 changes: 9 additions & 2 deletions src/Repositories/Enums/HttpStatusCodeEnum.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
<?php

/*
* This file is part of the Jiannei/laravel-response.
*
* (c) Jiannei <[email protected]>
*
* 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;

Expand Down Expand Up @@ -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
}
}
1 change: 0 additions & 1 deletion src/Repositories/Enums/ResponseCodeEnum.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,4 @@

abstract class ResponseCodeEnum extends HttpStatusCodeEnum
{

}

0 comments on commit f2147f2

Please sign in to comment.