Code Duplication    Length = 8-9 lines in 2 locations

src/Place/DefaultPlaceEditingService.php 1 location

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

src/Event/DefaultEventEditingService.php 1 location

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