mirror of
https://github.com/hauke68/Magallanes.git
synced 2026-09-06 09:28:57 +02:00
Merge branch 'develop' into task-factory-test
Conflicts: Mage/Task/Factory.php
This commit is contained in:
@@ -59,7 +59,7 @@ class Factory
|
||||
|
||||
$instance = new $className($taskConfig, $inRollback, $stage, $taskParameters);
|
||||
|
||||
if (!$instance instanceof AbstractTask) {
|
||||
if (!($instance instanceof AbstractTask)) {
|
||||
throw new Exception('The Task ' . $taskName . ' must be an instance of Mage\Task\AbstractTask.');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user