Commit dadfff07 authored by Martin Anderson-Clutz's avatar Martin Anderson-Clutz
Browse files

Issue #3258815 by mandclu, marcvangend: Code Standards Fixes

parent f5314e94
Loading
Loading
Loading
Loading
+1 −9
Original line number Diff line number Diff line
@@ -38,15 +38,7 @@ class SmartDateDrushCommands extends DrushCommands {
   * @option langcode
   *   Language code to store.
   */
  public function migrate($bundle, $dest, $source_start, $source_end = NULL, $source_all_day = NULL, array $options = []) {
    if (!$options) {
      $options = [
        'clear' => FALSE,
        'entity' => 'node',
        'default_duration' => 0,
        'langcode' => NULL,
      ];
    }
  public function migrate($bundle, $dest, $source_start, $source_end = NULL, $source_all_day = NULL, array $options = ['clear' => FALSE, 'entity' => 'node', 'default_duration' => 0, 'langcode' => NULL]) {
    // @todo Sanitize provide input.
    $entity = $options['entity'];
    $dest_table = $entity . '__' . $dest;