Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 28ec9d7

Browse files
author
DKravtsov
committed
updated packages and readme.md
1 parent 6905a29 commit 28ec9d7

40 files changed

+2141
-1698
lines changed

‎LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) Dmitriy Kravtsov
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

‎app/Console/Kernel.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,6 @@
99

1010
class Kernel extends ConsoleKernel
1111
{
12-
/**
13-
* The Artisan commands provided by your application.
14-
*
15-
* @var array
16-
*/
17-
protected $commands = [];
18-
1912
/**
2013
* Define the application's command schedule.
2114
* @phpcsSuppress SlevomatCodingStandard.Functions.UnusedParameter

‎app/Exceptions/Handler.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ class Handler extends ExceptionHandler
1212
/**
1313
* A list of the exception types that are not reported.
1414
*
15-
* @var string[]
15+
* @var array<int, class-string<Throwable>>
1616
*/
1717
protected $dontReport = [];
1818

1919
/**
2020
* A list of the inputs that are never flashed for validation exceptions.
2121
*
22-
* @var string[]
22+
* @var array<int, string>
2323
*/
2424
protected $dontFlash = [
2525
'current_password',

‎app/Http/Kernel.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class Kernel extends HttpKernel
1313
*
1414
* These middleware are run during every request to your application.
1515
*
16-
* @var array
16+
* @var array<int, class-string|string>
1717
*/
1818
protected $middleware = [
1919
// \App\Http\Middleware\TrustHosts::class,
@@ -28,7 +28,7 @@ class Kernel extends HttpKernel
2828
/**
2929
* The application's route middleware groups.
3030
*
31-
* @var array
31+
* @var array<string, array<int, class-string|string>>
3232
*/
3333
protected $middlewareGroups = [
3434
'web' => [
@@ -53,7 +53,7 @@ class Kernel extends HttpKernel
5353
*
5454
* These middleware may be assigned to groups or used individually.
5555
*
56-
* @var array
56+
* @var array<string, class-string|string>
5757
*/
5858
protected $routeMiddleware = [
5959
'auth' => \App\Http\Middleware\Authenticate::class,

‎app/Http/Middleware/EncryptCookies.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class EncryptCookies extends Middleware
1111
/**
1212
* The names of the cookies that should not be encrypted.
1313
*
14-
* @var array
14+
* @var array<int, string>
1515
*/
1616
protected $except = [];
1717
}

‎app/Http/Middleware/PreventRequestsDuringMaintenance.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class PreventRequestsDuringMaintenance extends Middleware
1111
/**
1212
* The URIs that should be reachable while maintenance mode is enabled.
1313
*
14-
* @var array
14+
* @var array<int, string>
1515
*/
1616
protected $except = [];
1717
}

‎app/Http/Middleware/TrimStrings.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class TrimStrings extends Middleware
1111
/**
1212
* The names of the attributes that should not be trimmed.
1313
*
14-
* @var array
14+
* @var array<int, string>
1515
*/
1616
protected $except = [
1717
'current_password',

‎app/Http/Middleware/TrustProxies.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class TrustProxies extends Middleware
1212
/**
1313
* The trusted proxies for this application.
1414
*
15-
* @var array|string|null
15+
* @var array<int, string>|string|null
1616
*/
1717
protected $proxies;
1818

‎app/Http/Middleware/VerifyCsrfToken.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class VerifyCsrfToken extends Middleware
1111
/**
1212
* The URIs that should be excluded from CSRF verification.
1313
*
14-
* @var array
14+
* @var array<int, string>
1515
*/
1616
protected $except = [];
1717
}

‎app/Models/User.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class User extends Authenticatable
1818
/**
1919
* The attributes that are mass assignable.
2020
*
21-
* @var string[]
21+
* @var array<int, string>
2222
*/
2323
protected $fillable = [
2424
'name',
@@ -27,19 +27,19 @@ class User extends Authenticatable
2727
];
2828

2929
/**
30-
* The attributes that should be hidden for arrays.
30+
* The attributes that should be hidden for serialization.
3131
*
32-
* @var array
32+
* @var array<int, string>
3333
*/
3434
protected $hidden = [
3535
'password',
3636
'remember_token',
3737
];
3838

3939
/**
40-
* The attributes that should be cast to native types.
40+
* The attributes that should be cast.
4141
*
42-
* @var array
42+
* @var array<string, string>
4343
*/
4444
protected $casts = [
4545
'email_verified_at' => 'datetime',

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /