File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ public function handle(Client $ozuClient): int
4242                    'label '  => $ collection ->label (),
4343                    'icon '  => $ collection ->icon (),
4444                    'hasPublicationState '  => $ collection ->hasPublicationState (),
45-                     'hasAutoDeployDateField '  => $ collection ->hasAutoDeployDateField (),
45+                     'autoDeployDateField '  => $ collection ->autoDeployDateField (),
4646                    'isCreatable '  => $ collection ->isCreatable (),
4747                    'isDeletable '  => $ collection ->isDeletable (),
4848                    'order '  => $ k +1 ,
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ public function setHasPublicationState(bool $hasState = true): self
3838     * @param string|null $field 
3939     * @return $this 
4040     */ 
41-     public  function  setHasAutoDeployDateField (? string  $ fieldKey =  null ): self 
41+     public  function  setAutoDeployDateField ( string  $ fieldKey ): self 
4242    {
4343        $ this  ->autoDeployDateField  = $ fieldKey ;
4444
@@ -74,7 +74,12 @@ public function hasPublicationState(): bool
7474        return  $ this  ->hasPublicationState ;
7575    }
7676
77-     public  function  hasAutoDeployDateField (): ?string 
77+     public  function  hasAutoDeployDateField (): bool 
78+     {
79+         return  !is_null ($ this  ->autoDeployDateField );
80+     }
81+ 
82+     public  function  autoDeployDateField (): ?string 
7883    {
7984        return  $ this  ->autoDeployDateField ;
8085    }
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments