mirror of
https://github.com/linuxserver/Heimdall.git
synced 2025-12-22 14:47:47 +09:00
Updates to vendors etc
This commit is contained in:
@@ -12,13 +12,16 @@
|
||||
namespace Symfony\Component\HttpKernel\Attribute;
|
||||
|
||||
/**
|
||||
* Defines the HTTP status code applied to an exception.
|
||||
*
|
||||
* @author Dejan Angelov <angelovdejan@protonmail.com>
|
||||
*/
|
||||
#[\Attribute(\Attribute::TARGET_CLASS)]
|
||||
class WithHttpStatus
|
||||
{
|
||||
/**
|
||||
* @param array<string, string> $headers
|
||||
* @param int $statusCode The HTTP status code to use
|
||||
* @param array<string, string> $headers The HTTP headers to add to the response
|
||||
*/
|
||||
public function __construct(
|
||||
public readonly int $statusCode,
|
||||
|
||||
Reference in New Issue
Block a user