@@ -27,7 +27,8 @@  | 
                                                    ||
| 27 | 27 | if (isset($aData['labels']))  | 
                                                        
| 28 | 28 |          { | 
                                                        
| 29 | 29 | $this->labels = (object) $aData['labels'];  | 
                                                        
| 30 | -        } else { | 
                                                        |
| 30 | + }  | 
                                                        |
| 31 | +        else { | 
                                                        |
| 31 | 32 | $this->labels = (object) [];  | 
                                                        
| 32 | 33 | }  | 
                                                        
| 33 | 34 | |
@@ -134,14 +134,16 @@  | 
                                                    ||
| 134 | 134 | if (isset($aData['env']))  | 
                                                        
| 135 | 135 |          { | 
                                                        
| 136 | 136 | $this->env = (object) $aData['env'];  | 
                                                        
| 137 | -        } else { | 
                                                        |
| 137 | + }  | 
                                                        |
| 138 | +        else { | 
                                                        |
| 138 | 139 | $this->env = (object) [];  | 
                                                        
| 139 | 140 | }  | 
                                                        
| 140 | 141 | |
| 141 | 142 | if (isset($aData['labels']))  | 
                                                        
| 142 | 143 |          { | 
                                                        
| 143 | 144 | $this->labels = (object) $aData['labels'];  | 
                                                        
| 144 | -        } else { | 
                                                        |
| 145 | + }  | 
                                                        |
| 146 | +        else { | 
                                                        |
| 145 | 147 | $this->labels = (object) [];  | 
                                                        
| 146 | 148 | }  | 
                                                        
| 147 | 149 | MarathonEntityUtils::setPropertyIfExist($aData, $this, 'constraints');  | 
                                                        
@@ -219,7 +219,7 @@  | 
                                                    ||
| 219 | 219 | * @param JobEntityInterface $oRemoteJob  | 
                                                        
| 220 | 220 | * @return null  | 
                                                        
| 221 | 221 | */  | 
                                                        
| 222 | - abstract protected function preCompareModifications(JobEntityInterface &$oLocalJob, JobEntityInterface &$oRemoteJob);  | 
                                                        |
| 222 | + abstract protected function preCompareModifications(JobEntityInterface & $oLocalJob, JobEntityInterface & $oRemoteJob);  | 
                                                        |
| 223 | 223 | |
| 224 | 224 | /**  | 
                                                        
| 225 | 225 | * Gets entity for each system with defaults set  |