Code Duplication    Length = 8-9 lines in 2 locations

src/Place/DefaultPlaceEditingService.php 1 location

@@ 79-86 (lines=8) @@
76
    /**
77
     * {@inheritdoc}
78
     */
79
    public function updateMajorInfo($id, Title $title, EventType $eventType, Address $address, CalendarInterface $calendar, Theme $theme = null)
80
    {
81
        $this->guardId($id);
82
83
        return $this->commandBus->dispatch(
84
            new UpdateMajorInfo($id, $title, $eventType, $address, $calendar, $theme)
85
        );
86
    }
87
88
    /**
89
     * @inheritdoc

src/Event/DefaultEventEditingService.php 1 location

@@ 126-134 (lines=9) @@
123
    /**
124
     * {@inheritdoc}
125
     */
126
    public function updateMajorInfo($eventId, Title $title, EventType $eventType, Location $location, CalendarInterface $calendar, $theme = null)
127
    {
128
        $this->guardId($eventId);
129
130
        return $this->commandBus->dispatch(
131
            new UpdateMajorInfo($eventId, $title, $eventType, $location, $calendar, $theme)
132
        );
133
    }
134
135
    /**
136
     * @inheritdoc
137
     */