Updated all the contrib modules to their latest versions.
[yaffs-website] / web / modules / contrib / migrate_tools / src / Form / MigrationEditForm.php
index 144c74739a93d654c679d1c3b9b56bb6a377a117..214d0ae35d2e8150a3e1ce4d9743ba16112bdf15 100644 (file)
@@ -6,8 +6,6 @@ use Drupal\Core\Form\FormStateInterface;
 use Drupal\Core\Url;
 
 /**
- * Class MigrationEditForm
- *
  * Provides the edit form for our Migration entity.
  *
  * @package Drupal\migrate_tools\Form
@@ -37,14 +35,15 @@ class MigrationEditForm extends MigrationFormBase {
   }
 
   /**
+   * Add group route parameter.
+   *
    * @param \Drupal\Core\Url $url
    *   The URL associated with an operation.
-   *
-   * @param $migration_group
+   * @param string $migration_group
    *   The migration's parent group.
    */
   protected function addGroupParameter(Url $url, $migration_group) {
-    $route_parameters = $url->getRouteParameters() + array('migration_group' => $migration_group);
+    $route_parameters = $url->getRouteParameters() + ['migration_group' => $migration_group];
     $url->setRouteParameters($route_parameters);
   }