Unverified Commit 333755fd authored by Alex Pott's avatar Alex Pott
Browse files

Issue #3133139 by nitesh624, Kristen Pol, quietone: Remove is_array check in getProcessPlugins

parent 84241510
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -345,9 +345,6 @@ public function getProcessPlugins(array $process = NULL) {
      $this->processPlugins[$index] = [];
      foreach ($this->getProcessNormalized($process) as $property => $configurations) {
        $this->processPlugins[$index][$property] = [];
        if (!is_array($configurations) && !$this->processPlugins[$index][$property]) {
          throw new MigrateException(sprintf("Process configuration for '$property' must be an array", $property));
        }
        foreach ($configurations as $configuration) {
          if (isset($configuration['source'])) {
            $this->processPlugins[$index][$property][] = $this->processPluginManager->createInstance('get', $configuration, $this);