Skip to content

Commit

Permalink
Deprecate the server variable class
Browse files Browse the repository at this point in the history
Will be removed in v3
  • Loading branch information
WouterSioen committed Oct 29, 2021
1 parent 4514d34 commit 5bd9f68
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/ServerVariable.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@

namespace Madewithlove;

/**
* @deprecated use regular strings instead of the constants included in this class
*/
final class ServerVariable
{
public const HTTP_REFERER = 'HTTP_REFERER';
Expand Down

0 comments on commit 5bd9f68

Please sign in to comment.