Skip to content

Commit

Permalink
[fix] make public consts
Browse files Browse the repository at this point in the history
  • Loading branch information
chipslays committed May 29, 2021
1 parent 9fef10d commit 731d942
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Types/Expiration.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ class Expiration
/**
* Paste has no expiration date.
*/
protected const NEVER = null;
public const NEVER = null;

/**
* Paste will burn after read.
*/
protected const BURN_AFTER_READ = 0;
public const BURN_AFTER_READ = 0;

/**
* Pass a string date like: `+1 day`, `+5 min`, `2021/05/30 15:00` and etc.
Expand Down

0 comments on commit 731d942

Please sign in to comment.