Code Duplication    Length = 8-8 lines in 2 locations

app/Presenters/ProjectPresenter.php 1 location

@@ 40-47 (lines=8) @@
37
     *
38
     * @return string[]
39
     */
40
    public function toArray()
41
    {
42
        return array_merge($this->wrappedObject->toArray(), [
43
            'created_at' => $this->created_at(),
44
            'updated_at' => $this->updated_at(),
45
            'status_name' => $this->wrappedObject->humanStatus,
46
        ]);
47
    }
48
}
49

app/Presenters/SubscriberPresenter.php 1 location

@@ 25-32 (lines=8) @@
22
     *
23
     * @return string[]
24
     */
25
    public function toArray()
26
    {
27
        return array_merge($this->wrappedObject->toArray(), [
28
            'created_at' => $this->created_at(),
29
            'updated_at' => $this->updated_at(),
30
            'verified_at' => $this->verified_at(),
31
        ]);
32
    }
33
}
34