Code Duplication    Length = 11-11 lines in 2 locations

src/Media/Commands/UploadImage.php 1 location

@@ 37-47 (lines=11) @@
34
     * @param String $description
35
     * @param String $copyrightHolder
36
     */
37
    public function __construct(
38
        UUID $fileId,
39
        MIMEType $mimeType,
40
        String $description,
41
        String $copyrightHolder
42
    ) {
43
        $this->fileId = $fileId;
44
        $this->description = $description;
45
        $this->copyrightHolder = $copyrightHolder;
46
        $this->mimeType = $mimeType;
47
    }
48
49
    /**
50
     * @return UUID

src/Media/Events/MediaObjectCreated.php 1 location

@@ 38-48 (lines=11) @@
35
     * @param String $description
36
     * @param String $copyrightHolder
37
     */
38
    public function __construct(
39
        UUID $fileId,
40
        MIMEType $fileType,
41
        String $description,
42
        String $copyrightHolder
43
    ) {
44
        $this->fileId = $fileId;
45
        $this->mimeType = $fileType;
46
        $this->description = $description;
47
        $this->copyrightHolder = $copyrightHolder;
48
    }
49
50
    /**
51
     * @return UUID