File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 9898    | 
9999    */ 
100100
101-     'ttl '  => env ('JWT_TTL ' , 3600 ),
101+     'ttl '  => ( int )  env ('JWT_TTL ' , 3600 ),
102102
103103    /* 
104104    |-------------------------------------------------------------------------- 
117117    | 
118118    */ 
119119
120-     'refresh_ttl '  => env ('JWT_REFRESH_TTL ' , 3600  * 24  * 14 ),
120+     'refresh_ttl '  => ( int )  env ('JWT_REFRESH_TTL ' , 3600  * 24  * 14 ),
121121
122122    /* 
123123    |-------------------------------------------------------------------------- 
204204    | 
205205    */ 
206206
207-     'leeway '  => env ('JWT_LEEWAY ' , 0 ),
207+     'leeway '  => ( int )  env ('JWT_LEEWAY ' , 0 ),
208208
209209    /* 
210210    |-------------------------------------------------------------------------- 
231231    | 
232232    */ 
233233
234-     'blacklist_grace_period '  => env ('JWT_BLACKLIST_GRACE_PERIOD ' , 0 ),
234+     'blacklist_grace_period '  => ( int )  env ('JWT_BLACKLIST_GRACE_PERIOD ' , 0 ),
235235
236236    /* 
237237    |-------------------------------------------------------------------------- 
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ class Blacklist
4545    /** 
4646     * Constructor. 
4747     */ 
48-     public  function  __construct (StorageInterface $ storageint  $ gracePeriodint  $ refreshTtl
48+     public  function  __construct (StorageInterface $ storageint  $ gracePeriod? int  $ refreshTtl
4949    {
5050        $ this storage  = $ storage
5151        $ this gracePeriod  = $ gracePeriod
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments