Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Illuminate/Cookie/Middleware/EncryptCookies.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class EncryptCookies
/**
* The names of the cookies that should not be encrypted.
*
* @var array
* @var array<int, string>
*/
protected $except = [];

Expand Down
6 changes: 3 additions & 3 deletions src/Illuminate/Foundation/Http/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,21 +51,21 @@ class Kernel implements KernelContract
/**
* The application's middleware stack.
*
* @var array
* @var array<int, class-string|string>
*/
protected $middleware = [];

/**
* The application's route middleware groups.
*
* @var array
* @var array<string, array<int, class-string|string>>
*/
protected $middlewareGroups = [];

/**
* The application's route middleware.
*
* @var array
* @var array<string, class-string|string>
*/
protected $routeMiddleware = [];

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class PreventRequestsDuringMaintenance
/**
* The URIs that should be accessible while maintenance mode is enabled.
*
* @var array
* @var array<int, string>
*/
protected $except = [];

Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Foundation/Http/Middleware/TrimStrings.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class TrimStrings extends TransformsRequest
/**
* The attributes that should not be trimmed.
*
* @var array
* @var array<int, string>
*/
protected $except = [
//
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class VerifyCsrfToken
/**
* The URIs that should be excluded from CSRF verification.
*
* @var array
* @var array<int, string>
*/
protected $except = [];

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class EventServiceProvider extends ServiceProvider
/**
* The event handler mappings for the application.
*
* @var array
* @var array<string, array<int, string>>
*/
protected $listen = [];

Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Http/Middleware/TrustProxies.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class TrustProxies
/**
* The trusted proxies for the application.
*
* @var array|string|null
* @var array<int, string>|string|null
*/
protected $proxies;

Expand Down