Skip to content

Commit f2147f2

Browse files
committed
Apply fixes from StyleCI
1 parent e892353 commit f2147f2

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

config/response.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@
1212
return [
1313
'enum' => \Jiannei\Response\Laravel\Repositories\Enums\ResponseCodeEnum::class,
1414

15-
'validation_error_code' => \Jiannei\Response\Laravel\Repositories\Enums\ResponseCodeEnum::HTTP_UNPROCESSABLE_ENTITY
15+
'validation_error_code' => \Jiannei\Response\Laravel\Repositories\Enums\ResponseCodeEnum::HTTP_UNPROCESSABLE_ENTITY,
1616
];

src/Repositories/Enums/HttpStatusCodeEnum.php

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,16 @@
11
<?php
22

3+
/*
4+
* This file is part of the Jiannei/laravel-response.
5+
*
6+
* (c) Jiannei <longjian.huang@foxmail.com>
7+
*
8+
* This source file is subject to the MIT license that is bundled
9+
* with this source code in the file LICENSE.
10+
*/
311

412
namespace Jiannei\Response\Laravel\Repositories\Enums;
513

6-
714
use Jiannei\Enum\Laravel\Contracts\LocalizedEnumContract;
815
use Jiannei\Enum\Laravel\Enum;
916

@@ -72,4 +79,4 @@ class HttpStatusCodeEnum extends Enum implements LocalizedEnumContract
7279
const HTTP_LOOP_DETECTED = 508; // RFC5842
7380
const HTTP_NOT_EXTENDED = 510; // RFC2774
7481
const HTTP_NETWORK_AUTHENTICATION_REQUIRED = 511; // RFC6585
75-
}
82+
}

src/Repositories/Enums/ResponseCodeEnum.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,4 @@
1313

1414
abstract class ResponseCodeEnum extends HttpStatusCodeEnum
1515
{
16-
1716
}

0 commit comments

Comments
 (0)