File tree Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 1212return [
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];
Original file line number Diff line number Diff line change 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
412namespace Jiannei \Response \Laravel \Repositories \Enums ;
513
6-
714use Jiannei \Enum \Laravel \Contracts \LocalizedEnumContract ;
815use 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+ }
Original file line number Diff line number Diff line change 1313
1414abstract class ResponseCodeEnum extends HttpStatusCodeEnum
1515{
16-
1716}
You can’t perform that action at this time.
0 commit comments