Code Duplication    Length = 9-9 lines in 2 locations

src/Dropzone.php 1 location

@@ 48-56 (lines=9) @@
45
     * @param \Illuminate\Http\JsonResponse $response
46
     * @return \Illuminate\Http\JsonResponse
47
     */
48
    public function completedResponse(JsonResponse $response)
49
    {
50
        $data = $response->getData();
51
        $data->success = true;
52
        $data->uuid = $this->request->get('dzuuid');
53
        $response->setData($data);
54
55
        return $response;
56
    }
57
}
58

src/FineUploader.php 1 location

@@ 50-58 (lines=9) @@
47
     * @param \Illuminate\Http\JsonResponse $response
48
     * @return \Illuminate\Http\JsonResponse
49
     */
50
    public function completedResponse(JsonResponse $response)
51
    {
52
        $data = $response->getData();
53
        $data->success = true;
54
        $data->uuid = $this->request->get('qquuid');
55
        $response->setData($data);
56
57
        return $response;
58
    }
59
}
60