mirror of
				https://github.com/hauke68/Magallanes.git
				synced 2025-11-04 09:00:18 +01:00 
			
		
		
		
	Merge branch 'master' into develop
This commit is contained in:
		
						commit
						f04cced989
					
				@ -212,6 +212,10 @@ class DeployCommand extends AbstractCommand implements RequiresEnvironment
 | 
				
			|||||||
            $exitCode = 0;
 | 
					            $exitCode = 0;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        
 | 
					        
 | 
				
			||||||
 | 
					        if (self::$deployStatus === self::FAILED) {
 | 
				
			||||||
 | 
					            $exitCode = 1;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					        
 | 
				
			||||||
        return $exitCode;
 | 
					        return $exitCode;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -59,7 +59,7 @@ class Factory
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        $instance = new $className($taskConfig, $inRollback, $stage, $taskParameters);
 | 
					        $instance = new $className($taskConfig, $inRollback, $stage, $taskParameters);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if (!is_a($instance, 'Mage\Task\AbstractTask')) {
 | 
					        if (!($instance instanceof AbstractTask)) {
 | 
				
			||||||
            throw new Exception('The Task ' . $taskName . ' must be an instance of Mage\Task\AbstractTask.');
 | 
					            throw new Exception('The Task ' . $taskName . ' must be an instance of Mage\Task\AbstractTask.');
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user